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 listApr 6, 2026 16:41Danylo MocherniukDanylo MocherniukScore: 5,990Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2026 16:415,94975,581,16548,366,0001,007,0002,396,160
2Apr 6, 2026 16:395,95076,187,63448,380,0001,007,0002,297,856
3Apr 6, 2026 16:415,95372,145,67048,404,0001,008,0002,297,856
4Apr 6, 2026 16:415,95472,911,44847,402,0002,017,0002,400,256
5Apr 6, 2026 16:415,95771,719,64546,414,0003,027,0002,293,760
6Apr 6, 2026 16:415,96075,990,34147,453,0002,019,0002,297,856
7Apr 6, 2026 16:415,96177,642,18148,468,0001,009,0002,396,160
8Apr 6, 2026 16:415,96470,395,11848,494,0001,010,0002,297,856
9Apr 6, 2026 16:415,97378,061,81049,573,00002,297,856
10Apr 6, 2026 16:415,98275,556,48948,641,0001,013,0002,297,856
11Apr 6, 2026 16:415,99077,047,46647,727,0001,988,0002,297,856
12Apr 6, 2026 16:416,00275,644,29547,822,0001,992,0002,297,856
13Apr 6, 2026 16:416,00279,211,95847,828,0001,992,0002,297,856
14Apr 6, 2026 16:396,00276,366,51547,822,0001,992,0002,297,856
15Apr 6, 2026 16:416,00470,437,81147,840,0001,993,0002,408,448
16Apr 6, 2026 16:416,00479,487,40647,838,0001,993,0002,408,448
17Apr 6, 2026 16:416,00577,083,65247,851,0001,993,0002,404,352
18Apr 6, 2026 16:416,00578,006,44847,848,0001,993,0002,408,448
19Apr 6, 2026 16:416,00578,844,44347,845,0001,993,0002,408,448
20Apr 6, 2026 16:396,00577,715,75947,847,0001,993,0002,297,856
21Apr 6, 2026 16:416,02974,746,84647,042,0003,002,0002,297,856