Problem sumint
User Chris
Submission Time 2024-11-22 10:03:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int32_t main()’:
sumint.cpp:12:2: error: ‘total’ was not declared in this scope
12 | total = 0;
| ^~~~~
sumint.cpp:4:13: error: expected primary-expression before ‘long’
4 | #define int long long
| ^~~~
sumint.cpp:18:10: note: in expansion of macro ‘int’
18 | cout << int d <<"\n" total
| ^~~