Problem votingcities
User Josh28acc2
Submission Time 2024-02-15 00:08:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

votingcities.cpp: In function ‘void solve()’:
votingcities.cpp:100:91: error: expected ‘;’ before ‘continue’
100 | if (mask & bit || prices[q] == -1 || prices[q] >= it.second/10ll * (q+1) continue;
| ^~~~~~~~~
| ;
votingcities.cpp:101:67: error: expected ‘)’ before ‘;’ token
101 | nd = cd + prices[q] + (it.second/10ll)*(9ll - q);
| ^
| )
votingcities.cpp:100:22: note: to match this ‘(’
100 | if (mask & bit || prices[q] == -1 || prices[q] >= it.second/10ll * (q+1) continue;
| ^