Problem topical
User Hijackedsoul
Submission Time 2024-01-20 14:54:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp: In function ‘int32_t main()’:
topical.cpp:9:20: error: conflicting declaration ‘std::vector<long long int> ability’
9 | std::vector <int> ability(k, 0);
| ^~~~~~~
topical.cpp:6:27: note: previous declaration as ‘long long int ability’
6 | int n, k, cnt=0, keep=0, ability=0;
| ^~~~~~~