You are viewing a single comment's thread. Return to all comments →
int main() { string s; cin>>s; int i=0,l=s.size(); while(i
after i=0 executes in your code, the value of i becomes 1 as i++ executes
Seems like cookies are disabled on this browser, please enable them to open this website
Super Reduced String
You are viewing a single comment's thread. Return to all comments →
int main() { string s; cin>>s; int i=0,l=s.size(); while(i
after i=0 executes in your code, the value of i becomes 1 as i++ executes