QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#326475#3423. Base-2 PalindromesZhaoZiLongCompile Error//C++171.4kb2024-02-13 06:06:532024-02-13 06:06:53

詳細信息

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()