|
|
|
|
|
by cdelsolar
1411 days ago
|
|
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. |
|