QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#856756 | #9807. Make Them Believe | ZhangYiDe | Compile Error | / | / | C89 | 546b | 2025-01-14 16:01:14 | 2025-01-14 16:01:15 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘main’: answer.code:15:9: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode 15 | for(int i=0;i<6;i++) | ^~~ answer.code:15:9: note: use option ‘-std=c99’, ‘-std=gnu99’, ‘-std=c11’ or ‘-std=gnu11’ to compile your code answer.code:7:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7 | scanf("%s %d",first,&score1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code:8:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | scanf("%s %d",second,&score2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code:17:17: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 17 | scanf("%s %d",cur,&t); | ^~~~~~~~~~~~~~~~~~~~~