Problem taxcollection
User Phoubia01
Submission Time 2025-11-01 13:45:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

taxcollection.cpp: In function ‘int main()’:
taxcollection.cpp:6:3: error: ‘ll’ was not declared in this scope
6 | ll sum = 0;
| ^~
taxcollection.cpp:8:7: error: expected ‘;’ before ‘x’
8 | ll x; cin >> x;
| ^~
| ;
taxcollection.cpp:8:18: error: ‘x’ was not declared in this scope
8 | ll x; cin >> x;
| ^
taxcollection.cpp:9:5: error: ‘sum’ was not declared in this scope
9 | sum += x;
| ^~~
taxcollection.cpp:11:11: error: ‘sum’ was not declared in this scope
11 | cout << sum;
| ^~~