P1000 A+B Problem
Overview
Judge Result | Compile Error |
Problem | P1000 A+B Problem |
Submit Time | August 2, 2022, 4:43:14 PM |
Language | C++ |
Judger | Default Judger |
Used Time | 0 ms |
Used Memory | 0 K |
Execute Time | August 2, 2022, 4:43:23 PM |
Judge Result
Compile Error.
/tmp/voj-1722/OHfssCmSgBht.cpp: In function 'int main()':
/tmp/voj-1722/OHfssCmSgBht.cpp:3:14: error: expected ';' before 'int'
3 | int main() {1
| ^
| ;
4 | int a = 0, b = 0;
| ~~~
/tmp/voj-1722/OHfssCmSgBht.cpp:3:13: warning: statement has no effect [-Wunused-value]
3 | int main() {1
| ^
/tmp/voj-1722/OHfssCmSgBht.cpp:5:17: error: 'a' was not declared in this scope
5 | std::cin >> a >> b;
| ^
/tmp/voj-1722/OHfssCmSgBht.cpp:5:22: error: 'b' was not declared in this scope
5 | std::cin >> a >> b;
| ^
Compile Error, Time = 0 ms, Memory = 0 KB, Score = 0.