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 13, 2026 01:20Josu San MartinJosu San MartinScore: 5,101Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2026 01:114,98061,545,86040,328,0001,008,0002,408,448
2Apr 13, 2026 01:214,99463,812,78140,442,0001,011,0002,412,544
3Apr 13, 2026 01:205,00969,427,59140,558,0001,013,0002,285,568
4Apr 13, 2026 01:205,01272,260,61240,587,0001,014,0002,285,568
5Apr 13, 2026 01:115,04071,152,61739,839,0001,991,0002,400,256
6Apr 13, 2026 01:205,05467,266,60940,947,000998,0002,285,568
7Apr 13, 2026 01:215,07568,795,70840,117,0002,005,0002,408,448
8Apr 13, 2026 01:215,10162,922,97941,332,0001,008,0002,400,256
9Apr 13, 2026 01:215,11465,949,02541,436,0001,010,0002,412,544
10Apr 13, 2026 01:205,20968,559,13742,233,0001,005,0002,400,256
11Apr 13, 2026 01:215,26267,162,24242,658,0001,015,0002,412,544
12Apr 13, 2026 01:205,30468,533,09842,025,0002,001,0002,285,568
13Apr 13, 2026 01:115,32566,373,91042,189,0002,009,0002,412,544
14Apr 13, 2026 01:205,35865,531,83943,463,0001,010,0002,400,256
15Apr 13, 2026 01:215,36265,966,46643,491,0001,011,0002,400,256