| Problem | flamethrower |
|---|---|
| User | rasquait |
| Submission Time | 2025-12-01 10:34:59 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
flamethrower.cpp:4:1: error: ‘::main’ must return ‘int’
4 | void main (){
| ^~~~
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:9:2: error: expected primary-expression before ‘<’ token
9 | <vector> t;
| ^
flamethrower.cpp:9:9: error: missing template arguments before ‘>’ token
9 | <vector> t;
| ^
flamethrower.cpp:9:11: error: ‘t’ was not declared in this scope
9 | <vector> t;
| ^
flamethrower.cpp:10:7: error: ‘i’ was not declared in this scope
10 | for (i=0; i < n; i++) {int e; cin >> e; t.push_back(e);}
| ^
flamethrower.cpp:12:7: error: ‘i’ was not declared in this scope
12 | for (i=0; i < n-k; i++) {int sum = 0;
| ^
flamethrower.cpp:13:14: error: ‘ii’ was not declared in this scope
13 | for (ii= i; ii < i + k; i++){
| ^~
flamethrower.cpp:16:10: