Problem addition
User YongXin
Submission Time 2023-06-01 18:11:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp:3:26: error: expected constructor, destructor, or type conversion before ‘(’ token
3 | ios_base::sync_with_stdio(false);
| ^
addition.cpp:4:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
4 | cin.tie(NULL);
| ^~~
| sin
addition.cpp:5:1: error: ‘cout’ does not name a type
5 | cout.tie(NULL);
| ^~~~
addition.cpp: In function ‘int main()’:
addition.cpp:11:7: error: expected ‘;’ before ‘cout’
11 | a=a+b
| ^
| ;
12 | cout << a;
| ~~~~