Problem horsejockey
User abcde271828
Submission Time 2026-06-22 22:39:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

horsejockey.cpp: In function ‘int main()’:
horsejockey.cpp:18:17: error: ‘a’ was not declared in this scope
18 | if (x > a) {
| ^
horsejockey.cpp:22:17: error: ‘b’ was not declared in this scope
22 | if (v > b) {
| ^
horsejockey.cpp:23:4: error: ‘r’ was not declared in this scope
23 | r = min(r, (myPos-x-1)/(mySpeed-b)); //calc max time allowed
| ^