Problem | duckbuttons |
---|---|
User | Shauryaw |
Submission Time | 2025-06-17 13:52:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckbuttons.cpp: In function ‘int main()’:
duckbuttons.cpp:9:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
9 | for (int i = 0; and i<n; i++) {
| ^
duckbuttons.cpp:11:21: error: expected identifier before ‘(’ token
11 | if (d > a[i]) and (d > a[i+1] {
| ^
duckbuttons.cpp:9:22: error: label ‘i’ used but not defined
9 | for (int i = 0; and i<n; i++) {
| ^