Problem sadtrainer
User Harshith
Submission Time 2026-03-03 18:46:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sadtrainer.cpp: In function ‘int main()’:
sadtrainer.cpp:10:11: error: expected ‘;’ before ‘for’
10 | y = y - 1
| ^
| ;
11 | for(int i = 0; i < L+1; i++){
| ~~~
sadtrainer.cpp:11:17: error: ‘i’ was not declared in this scope
11 | for(int i = 0; i < L+1; i++){
| ^