| Problem | addition |
|---|---|
| User | Haoyu |
| Submission Time | 2026-11-16 08:58:58 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cc1plus: error: ‘::main’ must return ‘int’
addition.cpp: In function ‘int main()’:
addition.cpp:7:9: error: expected unqualified-id before numeric constant
7 | double 4, 5, sum;
| ^
addition.cpp:10:22: error: expected ‘;’ before ‘std’
10 | std::cout <<"4, 5: "
| ^
| ;
11 | std::cin >> 4 >> 5
| ~~~
addition.cpp:14:25: error: ‘sum’ was not declared in this scope
14 | std::cout <<"Sum:c" << sum << std::endl;
| ^~~