QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
详细
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>’?