You are viewing a single comment's thread. Return to all comments →
two line code
for(i=0;i<(n-1);) arr[i+2]?(res++,i++):(res++,i+=2); cout<<res;
Seems like cookies are disabled on this browser, please enable them to open this website
Jumping on the Clouds
You are viewing a single comment's thread. Return to all comments →
two line code