Problem flamethrower
User dfsssssssssfsdfdssgdfs
Submission Time 2026-01-28 17:34:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int maxSum(std::vector<int>&, int)’:
flamethrower.cpp:17:25: error: ‘n’ was not declared in this scope
17 | for (int i = k; i < n; i++) {
| ^