You are viewing a single comment's thread. Return to all comments →
Another suggestion to reduce the number of loop iterations
for (int i=f;i*i<l;i+=f)
then double the count and add 1 if i*i==l
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 →
Another suggestion to reduce the number of loop iterations
then double the count and add 1 if i*i==l