QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#96775 | #6128. Flippy Sequence | MaMengQi | Compile Error | / | / | C++98 | 1022b | 2023-04-15 16:15:15 | 2023-04-15 16:15:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:53:25: error: ‘printf’ was not declared in this scope 53 | printf("0\n"); | ^~~~~~ answer.code:2:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’? 1 | #include <iostream> +++ |+#include <cstdio> 2 | #include <string> answer.code:64:25: error: ‘printf’ was not declared in this scope 64 | printf("6\n"); | ^~~~~~ answer.code:64:25: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?