Problem duckbuttons
User Shauryaw
Submission Time 2025-06-17 13:52:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckbuttons.cpp: In function ‘int main()’:
duckbuttons.cpp:11:21: error: expected identifier before ‘(’ token
11 | if (d > a[i]) and (d > a[i+1] {
| ^
duckbuttons.cpp:19:1: error: expected ‘}’ at end of input
19 | }
| ^
duckbuttons.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^