Problem flamethrower
User Jatin2010
Submission Time 2024-08-14 17:05:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:12:7: error: ‘inti’ was not declared in this scope; did you mean ‘int’?
12 | for(inti=1;i<=n;i++){
| ^~~~
| int
flamethrower.cpp:12:14: error: ‘i’ was not declared in this scope
12 | for(inti=1;i<=n;i++){
| ^
flamethrower.cpp:19:30: error: expected ‘;’ before ‘l’
19 | answer = max(answer, sum)
| ^
| ;
20 | l++;
| ~