| Problem | bingeeating |
|---|---|
| User | Josh28acc2 |
| Submission Time | 2025-01-08 13:15:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bingeeating.cpp: In function ‘void solve()’:
bingeeating.cpp:83:9: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
83 | ans += min(m, k)*(arr[i]+extra);
| ^~~
| abs
bingeeating.cpp:83:31: error: ‘i’ was not declared in this scope
83 | ans += min(m, k)*(arr[i]+extra);
| ^
bingeeating.cpp:83:34: error: ‘extra’ was not declared in this scope; did you mean ‘extern’?
83 | ans += min(m, k)*(arr[i]+extra);
| ^~~~~
| extern
bingeeating.cpp:87:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
87 | cout << ans;
| ^~~
| abs