Problem horsejockey
User fartyoudie
Submission Time 2026-06-23 11:24:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

horsejockey.cpp: In function ‘int main()’:
horsejockey.cpp:10:10: error: expected ‘;’ before ‘for’
10 | cin>>a>>b
| ^
| ;
11 | for(i=0;i<N-1;i++){
| ~~~
horsejockey.cpp:11:9: error: ‘i’ was not declared in this scope
11 | for(i=0;i<N-1;i++){
| ^
horsejockey.cpp:19:1: error: expected ‘}’ at end of input
19 | }
| ^
horsejockey.cpp:5:14: note: to match this ‘{’
5 | signed main(){
| ^