Problem candies
User PerihelionfromAphelion
Submission Time 2026-04-28 20:58:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candies.cpp: In function β€˜int main()’:
candies.cpp:15:57: error: no match for call to β€˜(std::map<int, int>) (int)’
15 | while(freq.count(current_k + 1) && freq(current_k + 1) >= 1) {
| ^