Problem | flamethrower |
---|---|
User | lololol |
Submission Time | 2024-02-08 21:35:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:7:2: error: expected initializer before ‘for’
7 | for(int i=0;i<n;i++){
| ^~~
flamethrower.cpp:7:14: error: ‘i’ was not declared in this scope
7 | for(int i=0;i<n;i++){
| ^
flamethrower.cpp:14:10: error: ‘arr’ was not declared in this scope
14 | if(max-arr[i]+arr[i+k]>max){
| ^~~