Problem ping
User user123
Submission Time 2023-09-11 10:22:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ping.cpp: In function ‘int rabbit(int)’:
ping.cpp:6:9: error: ‘ping’ was not declared in this scope
6 | int d1=ping(0), d2=ping(1);
| ^~~~
ping.cpp:7:9: error: ‘d2’ was not declared in this scope; did you mean ‘d1’?
7 | if (d1<d2) return -d1;
| ^~
| d1