Problem | duckbuttons |
---|---|
User | LL |
Submission Time | 2025-06-17 13:54:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckbuttons.cpp: In function ‘int main()’:
duckbuttons.cpp:10:9: error: expected ‘;’ before ‘cin’
10 | ans = 0
| ^
| ;
11 | cin >> N >> d;
| ~~~
duckbuttons.cpp:17:9: error: expected ‘;’ before ‘for’
17 | a = N-1
| ^
| ;
18 | for(i=N; i>0; i--){
| ~~~
duckbuttons.cpp:18:11: error: ‘i’ was not declared in this scope
18 | for(i=N; i>0; i--){
| ^