You are viewing a single comment's thread. Return to all comments →
the first loop doesnt need to loop through i<=n , it should loop through i< n-1, because i should always be less than j .
Seems like cookies are disabled on this browser, please enable them to open this website
Divisible Sum Pairs
You are viewing a single comment's thread. Return to all comments →
the first loop doesnt need to loop through i<=n , it should loop through i< n-1, because i should always be less than j .