QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#691650 | #7054. Fibonacci Sequence | welikestudying | Compile Error | / | / | C++23 | 26b | 2024-10-31 12:27:28 | 2024-10-31 12:27:28 |
Judging History
answer
main(){puts("1 1 2 3 5");}
Details
answer.code:1:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 1 | main(){puts("1 1 2 3 5");} | ^~~~ answer.code: In function ‘int main()’: answer.code:1:8: error: ‘puts’ was not declared in this scope 1 | main(){puts("1 1 2 3 5");} | ^~~~