Parse integers Sergey Svistunov

Compute the sum of integers read from STDIN as fast as possible.

Input: 50 000 000 lines, each containing one integer in the range [0; 2147483647].

629871117
2024562523
1372689083
1021777120
2111176472

Output: The uint64 sum of all numbers, printed as a decimal string.

Note: Integer overflow is expected – use a 64-bit accumulator.

Back to listMar 10, 2026 15:52caandocaandoScore: 5,255Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 10, 2026 15:525,23269,471,84241,406,0002,019,0002,260,992
2Mar 10, 2026 15:525,23870,298,64143,476,00002,285,568
3Mar 10, 2026 15:525,24668,947,23242,533,0001,012,0002,519,040
4Mar 10, 2026 15:525,25568,246,22642,606,0001,014,0002,523,136
5Mar 10, 2026 15:525,26374,809,50842,668,0001,015,0002,375,680
6Mar 10, 2026 15:525,29665,209,13041,959,0001,998,0002,523,136