| Problem | flamethrower |
|---|---|
| User | infraredflames |
| Submission Time | 2026-01-29 21:19:54 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:3:2: error: ‘cin’ was not declared in this scope
3 | cin>>N>>k;
| ^~~
flamethrower.cpp:4:2: error: ‘vector’ was not declared in this scope
4 | vector<int> arr = {};
| ^~~~~~
flamethrower.cpp:4:9: error: expected primary-expression before ‘int’
4 | vector<int> arr = {};
| ^~~
flamethrower.cpp:8:3: error: ‘arr’ was not declared in this scope
8 | arr.push_back(temp);
| ^~~
flamethrower.cpp:14:12: error: ‘arr’ was not declared in this scope
14 | newmax+=arr[j];
| ^~~
flamethrower.cpp:16:3: error: ‘cout’ was not declared in this scope
16 | cout<<newmax;
| ^~~~
flamethrower.cpp:22:2: error: ‘cout’ was not declared in this scope
22 | cout<<max;
| ^~~~