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 listJan 1, 2026 22:47Josu San MartinJosu San MartinScore: 6,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2026 22:476,30672,611,14549,321,0003,019,0002,404,352
2Jan 1, 2026 22:476,34280,273,24950,613,0002,024,0002,306,048
3Jan 1, 2026 22:476,34579,772,19850,676,0001,987,0002,482,176
4Jan 1, 2026 22:486,36385,429,53351,820,000996,0002,383,872
5Jan 1, 2026 22:486,36483,053,70748,839,0003,986,0002,367,488
6Jan 1, 2026 22:476,38273,243,65249,973,0002,998,0002,273,280
7Jan 1, 2026 22:476,39680,727,60651,084,0002,003,0002,310,144
8Jan 1, 2026 22:486,42075,864,56651,278,0002,010,0002,412,544
9Jan 1, 2026 22:476,42274,822,26452,295,0001,005,0002,342,912
10Jan 1, 2026 22:476,65176,762,26154,199,0001,003,0002,314,240
11Jan 1, 2026 22:476,66884,328,61053,329,0002,012,0002,519,040
12Jan 1, 2026 22:476,67376,790,12054,379,0001,007,0002,355,200
13Jan 1, 2026 22:476,68682,929,52152,469,0003,027,0002,498,560
14Jan 1, 2026 22:476,70380,271,40552,601,0003,034,0002,269,184
15Jan 1, 2026 22:486,70685,850,60753,639,0002,024,0002,506,752
16Jan 1, 2026 22:486,71281,226,05053,719,0001,989,0002,289,664
17Jan 1, 2026 22:476,72481,245,95254,817,000996,0002,293,760
18Jan 1, 2026 22:486,75281,678,36152,042,0004,003,0002,285,568