Problem addition
User n
Submission Time 2024-02-16 21:52:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:11:38: error: expected ‘;’ before ‘{’ token
11 | if (a <= pow(10,6) && b <= pow(10,6)
| ^
| ;
12 | {cout << a+b;}
| ~
addition.cpp:13:2: error: expected primary-expression before ‘return’
13 | return 0;
| ^~~~~~
addition.cpp:12:17: error: expected ‘)’ before ‘return’
12 | {cout << a+b;}
| ^
| )
13 | return 0;
| ~~~~~~
addition.cpp:11:5: note: to match this ‘(’
11 | if (a <= pow(10,6) && b <= pow(10,6)
| ^