Problem ping
User YSH2020
Submission Time 2023-05-29 08:22:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ping.cpp: In function ‘int rabbit(int)’:
ping.cpp:6:12: error: declaration of ‘int P’ shadows a parameter
6 | int S, P; cin >> S >> P;
| ^
ping.cpp:7:20: error: ‘ping’ was not declared in this scope
7 | int old_dist = ping(pow(2, 30));
| ^~~~