You are viewing a single comment's thread. Return to all comments →
Instead of a for loop(i<10000) we can use while(x1<x2).
int k1 = x1; string s1="YES"; string s2="NO"; int k2 = x2; if((x2>x1) && (v2>v1)){ return s2; } else{ while(k1 } return s2; }
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 →
int k1 = x1; string s1="YES"; string s2="NO"; int k2 = x2; if((x2>x1) && (v2>v1)){ return s2; } else{ while(k1 } return s2; }