You are viewing a single comment's thread. Return to all comments →
for those getting 7th case wrong just run the loop upto value smaller than n not upto smaller than and equal to n :)
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #45: Triangular, pentagonal, and hexagonal
You are viewing a single comment's thread. Return to all comments →
for those getting 7th case wrong just run the loop upto value smaller than n not upto smaller than and equal to n :)