QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#541097#4990. Coffee Cup ComboZhaoZiLongCompile Error//C99660b2024-08-31 18:39:332024-08-31 18:39:33

详细

answer.code: In function ‘main’:
answer.code:11:8: error: expected identifier or ‘(’ before ‘?’ token
   11 |     int???? = 0;  // ????????
      |        ^
answer.code:17:17: error: expected expression before ‘?’ token
   17 |                 ????++;  // ????? 1
      |                 ^
answer.code:22:17: error: expected expression before ‘?’ token
   22 |                 ????++;  // ????? 1
      |                 ^
answer.code:27:20: error: expected expression before ‘?’ token
   27 |     printf("%d\n", ????);  // ????
      |                    ^
answer.code:27:22: error: expected ‘;’ before ‘]’ token
   27 |     printf("%d\n", ????);  // ????
      |                      ^
      |                      ;
answer.code:27:22: error: expected statement before ‘]’ token
answer.code:5:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
    5 |     scanf("%d", &n);  // ??????
      |     ^~~~~~~~~~~~~~~
answer.code:8:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
    8 |     scanf("%s", s);  // ????????????
      |     ^~~~~~~~~~~~~~