Problem addition
User om2024
Submission Time 2024-06-18 10:17:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:6:21: error: found ‘:’ in nested-name-specifier, expected ‘::’
6 | cout << a, b << std:endl;
| ^
| ::
addition.cpp:6:15: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<<’
6 | cout << a, b << std:endl;
| ~~^~~~~~~~~~~
addition.cpp:8:20: error: found ‘:’ in nested-name-specifier, expected ‘::’
8 | cout << sum << std:endl;
| ^
| ::