You are viewing a single comment's thread. Return to all comments →
It will cause run time error for modulus operation if v1 equals to v2. Can be fix by changing first condition to this:
if( x2>x1 && v2>=v1) return "NO";
Seems like cookies are disabled on this browser, please enable them to open this website
Number Line Jumps
You are viewing a single comment's thread. Return to all comments →
It will cause run time error for modulus operation if v1 equals to v2. Can be fix by changing first condition to this:
if( x2>x1 && v2>=v1) return "NO";