You are viewing a single comment's thread. Return to all comments →
why not
for (int i=f;i<=l;i+=f)
instead of
for(int i = f, j =2; i<=l; i=f*j,j++)
? Otherwise a very nice solution :)
Seems like cookies are disabled on this browser, please enable them to open this website
Between Two Sets
You are viewing a single comment's thread. Return to all comments →
why not
instead of
? Otherwise a very nice solution :)