| Problem | duckbuttons |
|---|---|
| User | TK |
| Submission Time | 2026-09-08 21:17:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckbuttons.cpp:6:5: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin>>n>>d;
| ^~~
| sin
duckbuttons.cpp:8:25: error: ‘n’ was not declared in this scope
8 | vector<long long> a(n);
| ^
duckbuttons.cpp:9:5: error: expected unqualified-id before ‘for’
9 | for(int i=0;i<n;i++){
| ^~~
duckbuttons.cpp:9:17: error: ‘i’ does not name a type
9 | for(int i=0;i<n;i++){
| ^
duckbuttons.cpp:9:21: error: ‘i’ does not name a type
9 | for(int i=0;i<n;i++){
| ^
duckbuttons.cpp:12:32: error: ‘n’ was not declared in this scope
12 | vector<long long> suff_max(n);
| ^
duckbuttons.cpp:13:5: error: ‘suff_max’ does not name a type
13 | suff_max[n-1]=a[n-1];
| ^~~~~~~~
duckbuttons.cpp:14:5: er