Problem addition
User technicaldifficulty
Submission Time 2025-06-04 15:54:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp:3:10: error: cannot declare ‘::main’ to be a global variable
3 | int main(a: int, b: int) {
| ^
addition.cpp:3:10: error: ‘a’ was not declared in this scope
addition.cpp:3:18: error: ‘b’ was not declared in this scope
3 | int main(a: int, b: int) {
| ^
addition.cpp:3:24: error: expression list treated as compound expression in initializer [-fpermissive]
3 | int main(a: int, b: int) {
| ^