QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#312363 | #4829. Mark on a Graph | MaMengQi | Compile Error | / | / | C++23 | 80b | 2024-01-23 20:42:53 | 2024-01-23 20:42:54 |
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] 1 | #import<time.h> | ^~~~~~ answer.code:2:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 2 | main(){int t=time(0);puts(t&1?"mark 0":"ok");while(time(0)==t);} | ^~~~ answer.code: In function ‘int main()’: answer.code:2:22: error: ‘puts’ was not declared in this scope 2 | main(){int t=time(0);puts(t&1?"mark 0":"ok");while(time(0)==t);} | ^~~~