News for hackers. Stuff that matters.
Re:The World Excel Championship is being broadcast on ESPN by cdelsolar on Thursday August 11, 2022 @11:28AM (#32427213)
How is this tough? Use a dict?

Edit: or even easier, because I didn't read the question properly the first time, sum all the numbers from 1 to n (use Euler's trick for extra points) and sum your array and take the difference.

Re:The World Excel Championship is being broadcast on ESPN by Faark on Thursday August 11, 2022 @11:48AM (#32427531)
The original challenge didn't include the "only one" repeated number part, btw