QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#348416#8338. Quad Kingdoms Chessucup-team018#Compile Error//C++233.2kb2024-03-09 18:19:122024-03-09 18:19:13

Details

answer.code: In function ‘int main()’:
answer.code:159:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  159 |                 scanf("%d", &x);
      |                 ~~~~~^~~~~~~~~~
answer.code:168:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  168 |                 scanf("%d", &x);
      |                 ~~~~~^~~~~~~~~~
answer.code:177:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  177 |                 scanf("%d %d %d", &id, &pos, &x);
      |                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.code: At global scope:
answer.code:188:1: fatal error: error writing to /tmp/cc2ZU1yQ.s: File too large
  188 | }
      | ^
compilation terminated.