Problem flamethrower
User Ast8ine
Submission Time 2026-02-15 10:33:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:10:14: error: expected unqualified-id before ‘=’ token
10 | vector<int> = costs[n];
| ^
flamethrower.cpp:12:10: error: ‘costs’ was not declared in this scope
12 | cin >> costs[i];
| ^~~~~
flamethrower.cpp:17:11: error: ‘costs’ was not declared in this scope
17 | sum += costs[j];
| ^~~~~