Comment

Comment by HoLyVieR

Here's an other solution. If you simply calculate the first digit and length for N=2, you will see that 2233445566 has a length of 19 and starts with 4, 7788990011 has a length of 20 and starts with 4 and 9988776655 has a length of 20 and starts with 8. If the first number had a length of 20 it could match, but since it has a length of 19 no mater the rest of the digits it can't be equal.
parent HoLyVieR 14 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton