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 11, 2026 15:12caandocaandoScore: 4,623Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 11, 2026 15:174,58566,304,22537,055,0001,001,0002,285,568
2Mar 11, 2026 15:174,58961,166,98936,088,0002,004,0002,285,568
3Mar 11, 2026 15:174,59564,083,45735,131,0003,011,0002,285,568
4Mar 11, 2026 15:174,60164,672,17937,182,0001,004,0002,285,568
5Mar 11, 2026 15:174,60160,699,38237,181,0001,004,0002,285,568
6Mar 11, 2026 15:174,60559,795,42536,207,0002,011,0002,281,472
7Mar 11, 2026 15:124,60866,816,69335,225,0003,019,0002,473,984
8Mar 11, 2026 15:174,61158,999,34136,258,0002,014,0002,482,176
9Mar 11, 2026 15:174,62165,688,24036,336,0002,018,0002,285,568
10Mar 11, 2026 15:124,62367,918,39936,348,0002,019,0002,473,984
11Mar 11, 2026 15:124,62359,530,47236,348,0002,019,0002,355,200
12Mar 11, 2026 15:174,62368,743,86436,353,0002,019,0002,473,984
13Mar 11, 2026 15:124,62460,956,87137,371,0001,010,0002,285,568
14Mar 11, 2026 15:174,62667,994,06837,385,0001,010,0002,482,176
15Mar 11, 2026 15:174,62961,654,72336,397,0002,022,0002,486,272
16Mar 11, 2026 15:124,62962,385,34037,408,0001,011,0002,281,472
17Mar 11, 2026 15:174,74371,953,12536,338,0003,028,0002,285,568
18Mar 11, 2026 15:124,75660,798,67437,448,0002,024,0002,473,984