QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#311671 | #4829. Mark on a Graph | ZhaoZiLong | Compile Error | / | / | C11 | 81b | 2024-01-22 17:06:37 | 2024-01-22 17:06:37 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] #import<time.h> ^~~~~~ answer.code:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(){int t(time(0));puts(t&1?"mark 0":"ok");while(t==time(0));} ^~~~ answer.code: In function ‘main’: answer.code:2:14: error: expected declaration specifiers or ‘...’ before ‘time’ main(){int t(time(0));puts(t&1?"mark 0":"ok");while(t==time(0));} ^~~~ answer.code:2:23: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration] main(){int t(time(0));puts(t&1?"mark 0":"ok");while(t==time(0));} ^~~~ answer.code:2:28: error: ‘t’ undeclared (first use in this function); did you mean ‘tm’? main(){int t(time(0));puts(t&1?"mark 0":"ok");while(t==time(0));} ^ tm answer.code:2:28: note: each undeclared identifier is reported only once for each function it appears in