cycle.cpp: In function 'void escape(int)':
cycle.cpp:8:12: error: 'jump' was not declared in this scope
bool x = jump(mid >= cur ? mid - cur : n - cur + mid);
^~~~
cycle.cpp:8:12: note: suggested alternative: 'bcmp'
bool x = jump(mid >= cur ? mid - cur : n - cur + mid);
^~~~
bcmp
cycle.cpp:13:2: error: 'jump' was not declared in this scope
jump((ans >= cur ? ans - cur : n - cur + ans) + n / 2);
^~~~
cycle.cpp:13:2: note: suggested alternative: 'bcmp'
jump((ans >= cur ? ans - cur : n - cur + ans) + n / 2);
^~~~
bcmp