QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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); | ^~~~~~~~~~~~~~~~~~~~~