Problem addition
User wahjsodhowasd
Submission Time 2026-02-13 10:09:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp:2:20: error: expected ‘;’ before ‘main’
2 | using namespace std
| ^
| ;
3 | main(
| ~~~~
addition.cpp:4:20: error: ‘b’ has not been declared
4 | signed long long a,b;
| ^
addition.cpp:4:21: error: expected ‘)’ before ‘;’ token
4 | signed long long a,b;
| ^
| )
addition.cpp:3:5: note: to match this ‘(’
3 | main(
| ^
addition.cpp:4:21: error: expected constructor, destructor, or type conversion before ‘;’ token
4 | signed long long a,b;
| ^
addition.cpp:5:1: error: ‘cin’ does not name a type
5 | cin>>a>>b;
| ^~~
addition.cpp:6:1: error: ‘cout’ does not name a type
6 | cout << a+b
| ^~~~