Problem addition
User havinaaaaash
Submission Time 2024-05-29 13:30:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:4:6: error: ‘a’ was not declared in this scope
4 | if (a <= pow(10, 9) && b <= pow(10,9)){
| ^
addition.cpp:4:25: error: ‘b’ was not declared in this scope
4 | if (a <= pow(10, 9) && b <= pow(10,9)){
| ^
addition.cpp:5:7: error: redeclaration of ‘int a’
5 | int a = 4;
| ^
addition.cpp:4:6: note: ‘<typeprefixerror>a’ previously declared here
4 | if (a <= pow(10, 9) && b <= pow(10,9)){
| ^
addition.cpp:6:7: error: redeclaration of ‘int b’
6 | int b = 5;
| ^
addition.cpp:4:25: note: ‘<typeprefixerror>b’ previously declared here
4 | if (a <= pow(10, 9) && b <= pow(10,9)){
| ^