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 14, 2026 05:07wnwnScore: 4,165Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 14, 2026 05:074,06962,316,40732,779,000993,0002,277,376
2Apr 14, 2026 05:084,07557,202,55131,833,0001,989,0002,494,464
3Apr 14, 2026 05:084,07660,784,87431,840,0001,990,0002,490,368
4Apr 14, 2026 05:094,07663,261,37432,838,000995,0002,277,376
5Apr 14, 2026 05:094,09463,288,24131,982,0001,998,0002,486,272
6Apr 14, 2026 05:094,11659,596,28432,157,0002,009,0002,490,368
7Apr 14, 2026 05:084,15754,445,85533,491,0001,014,0002,535,424
8Apr 14, 2026 05:094,16565,294,85533,555,0001,016,0002,494,464
9Apr 14, 2026 05:084,17657,312,11133,642,0001,019,0002,277,376
10Apr 14, 2026 05:094,23757,871,77933,159,0002,009,0002,486,272
11Apr 14, 2026 05:094,26257,187,48934,368,0001,010,0002,498,560
12Apr 14, 2026 05:074,29062,744,21734,590,0001,017,0002,277,376
13Apr 14, 2026 05:084,31665,699,69234,828,000995,0002,277,376
14Apr 14, 2026 05:084,31963,345,70133,856,0001,991,0002,277,376
15Apr 14, 2026 05:074,33159,624,11933,954,0001,997,0002,494,464