Problem duckbuttons
User andikawahyudi
Submission Time 2026-02-07 16:16:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckbuttons.cpp: In function ‘int main()’:
duckbuttons.cpp:24:13: error: ‘cur’ was not declared in this scope
24 | cur = suffixMax[i];
| ^~~
duckbuttons.cpp:31:24: error: expected ‘}’ at end of input
31 | cout << ans << endl;
| ^
duckbuttons.cpp:5:15: note: to match this ‘{’
5 | signed main() {
| ^