Problem addition3
User Achyuth
Submission Time 2026-11-03 13:23:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition3.cpp: In function ‘int main()’:
addition3.cpp:5:9: error: ‘a’ was not declared in this scope
5 | if(cin>>a>>b)a+=b;
| ^
addition3.cpp:5:12: error: ‘b’ was not declared in this scope
5 | if(cin>>a>>b)a+=b;
| ^
addition3.cpp:5:18: error: expected ‘}’ at end of input
5 | if(cin>>a>>b)a+=b;
| ^
addition3.cpp:3:12: note: to match this ‘{’
3 | int main (){
| ^