Problem ping
User bensonlzl
Submission Time 2022-12-22 21:40:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ping.cpp: In function ‘int rabbit(int)’:
ping.cpp:4:19: error: too many arguments to function ‘int ping(int)’
4 | return 1+ping(1,1);
| ^
In file included from ping.cpp:1:
ping.h:5:5: note: declared here
5 | int ping(int x);
| ^~~~