cycle.cpp: In function 'void escape(int)':
cycle.cpp:6:14: error: 'jump' was not declared in this scope
6 | if(n==2) jump(1);
| ^~~~
cycle.cpp:14:16: error: 'jump' was not declared in this scope
14 | if(jump(mid+prev))
| ^~~~
cycle.cpp:27:24: error: 'jump' was not declared in this scope
27 | if(last==true) jump(n/2);
| ^~~~
cycle.cpp:28:14: error: 'jump' was not declared in this scope
28 | else jump((n/2)+1);
| ^~~~
cycle.cpp: At global scope:
cycle.cpp:32:17: error: expected initializer at end of input
32 | bool jump(int x)
| ^