Problem duckbuttons
User Feiyang
Submission Time 2026-02-23 11:19:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
duckbuttons.cpp: In function ‘int main()’:
duckbuttons.cpp:18:25: error: ‘i’ was not declared in this scope
18 | maxi = max(maxi, a[i]);
| ^