Problem candies
User JustKitkat
Submission Time 2024-05-13 12:12:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candies.cpp: In function ‘void solve()’:
candies.cpp:63:11: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
63 | cout << ans << '\n';
| ^~~
| abs