记录详情

Compile Error

foo.cc: In function ‘int main()’:
foo.cc:4:9: error: ‘scanf’ was not declared in this scope
    4 |         scanf("%d",&a);
      |         ^~~~~
foo.cc:15:9: error: ‘printf’ was not declared in this scope
   15 |         printf("%d",c);
      |         ^~~~~~
foo.cc:1:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
  +++ |+#include <cstdio>
    1 | int main()

信息

递交者
类型
递交
题目
A4-2 回文数专题:反数
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C++
递交时间
2024-08-15 10:31:19
评测时间
2024-08-15 10:31:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes