Problem horsejockey
User ilikefriendchickn
Submission Time 2026-06-23 11:21:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

horsejockey.cpp: In function ‘int main()’:
horsejockey.cpp:24:71: error: expected ‘)’ before ‘;’ token
24 | {int multiple=(((tempdistance-firstdistance)/(firstspeed-tempspeed);
| ~ ^
| )
horsejockey.cpp:24:71: error: expected ‘)’ before ‘;’ token
24 | {int multiple=(((tempdistance-firstdistance)/(firstspeed-tempspeed);
| ~ ^
| )
horsejockey.cpp:25:5: error: ‘results’ was not declared in this scope; did you mean ‘result’?
25 | results=(multiple*firstspeed)+firstdistance;}
| ^~~~~~~
| result
horsejockey.cpp:26:10: error: ‘results’ was not declared in this scope; did you mean ‘result’?
26 | else{results=firs