Problem addition
User referencehey
Submission Time 2025-12-01 11:14:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp:1:9: error: ‘a’ was not declared in this scope
1 | int sum(a, b) {
| ^
addition.cpp:1:12: error: ‘b’ was not declared in this scope
1 | int sum(a, b) {
| ^
addition.cpp:1:13: error: expression list treated as compound expression in initializer [-fpermissive]
1 | int sum(a, b) {
| ^
addition.cpp:5:4: error: expected constructor, destructor, or type conversion before ‘(’ token
5 | sum(4, 5)
| ^