| Problem | flamethrower |
|---|---|
| User | elsatanyixin |
| Submission Time | 2026-02-28 11:35:39 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:14:27: error: ‘n’ was not declared in this scope
14 | for (int start =0; start<n-k+1;start++){
| ^
flamethrower.cpp:14:29: error: ‘k’ was not declared in this scope
14 | for (int start =0; start<n-k+1;start++){
| ^
flamethrower.cpp:16:4: error: expected ‘,’ or ‘;’ before ‘for’
16 | for (int ind=start; ind < start + k; ind++){
| ^~~
flamethrower.cpp:16:24: error: ‘ind’ was not declared in this scope; did you mean ‘int’?
16 | for (int ind=start; ind < start + k; ind++){
| ^~~
| int
flamethrower.cpp:20:13: error: ‘curwindow’ was not declared in this scope; did you mean ‘curwindowsum’?
20 | mxwindow=curwindow;
| ^~~~~~~~~
| curwindowsum