Problem addition
User Ethan1L1K1X1
Submission Time 2024-04-07 14:43:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:5:9: error: expected primary-expression before ‘int’
5 | cin >> int a;
| ^~~
addition.cpp:6:9: error: expected primary-expression before ‘int’
6 | cin >> int b;
| ^~~
addition.cpp:7:10: error: ‘a’ was not declared in this scope
7 | int c = a + b;
| ^
addition.cpp:7:14: error: ‘b’ was not declared in this scope
7 | int c = a + b;
| ^