P1000 A+B Problem
Overview
Judge Result | Compile Error |
Problem | P1000 A+B Problem |
Submit Time | October 3, 2021, 11:27:49 PM |
Language | C++ |
Judger | Default Judger |
Used Time | 0 ms |
Used Memory | 0 K |
Execute Time | October 3, 2021, 11:27:42 PM |
Judge Result
Compile Error.
/tmp/voj-1666/oesHzjwOTptR.cpp: In function ‘int main()’:
/tmp/voj-1666/oesHzjwOTptR.cpp:3:9: error: ‘scanf’ was not declared in this scope
3 | scanf("%d%d", &a, &b);
| ^~~~~
/tmp/voj-1666/oesHzjwOTptR.cpp:4:9: error: ‘printf’ was not declared in this scope
4 | printf("%d\n", a + b);
| ^~~~~~
/tmp/voj-1666/oesHzjwOTptR.cpp:1:1: note: ‘printf’ is defined in header ‘’; did you forget to ‘#include ’?
+++ |+#include
1 | int main() {
Compile Error, Time = 0 ms, Memory = 0 KB, Score = 0.