QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#326475 | #3423. Base-2 Palindromes | ZhaoZiLong | Compile Error | / | / | C++17 | 1.4kb | 2024-02-13 06:06:53 | 2024-02-13 06:06:53 |
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:5:5: error: ‘scanf’ was not declared in this scope 5 | scanf("%d", &M); | ^~~~~ answer.code:59:5: error: ‘printf’ was not declared in this scope 59 | printf("%u \n", result); | ^~~~~~ answer.code:1:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’? +++ |+#include <cstdio> 1 | int main()