Problem torturingaccountant
User RandomPerson
Submission Time 2024-01-19 15:24:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

torturingaccountant.cpp: In function ‘int main()’:
torturingaccountant.cpp:23:9: error: redeclaration of ‘long long int maxv’
23 | int maxv = 0; int ans = 0; int tot = 0; int undie = 0;
| ^~~~
torturingaccountant.cpp:10:24: note: ‘long long int maxv’ previously declared here
10 | vector<int> v; int maxv = 0;
| ^~~~
torturingaccountant.cpp:23:36: error: redeclaration of ‘long long int tot’
23 | int maxv = 0; int ans = 0; int tot = 0; int undie = 0;
| ^~~
torturingaccountant.cpp:9:9: note: ‘long long int tot’ previously declared here
9 | int tot = 0, die = 0;
| ^~~