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:17wnwnScore: 4,246Success
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:184,10656,801,81932,072,0002,004,0002,277,376
2Apr 14, 2026 05:184,11261,234,65332,121,0002,007,0002,498,560
3Apr 14, 2026 05:184,17159,690,46733,600,0001,018,0002,535,424
4Apr 14, 2026 05:184,23056,673,37933,100,0002,006,0002,277,376
5Apr 14, 2026 05:174,23953,232,55133,177,0002,010,0002,535,424
6Apr 14, 2026 05:174,24059,792,56333,183,0002,011,0002,277,376
7Apr 14, 2026 05:184,24458,274,32933,216,0002,013,0002,494,464
8Apr 14, 2026 05:174,24658,756,72433,228,0002,013,0002,494,464
9Apr 14, 2026 05:184,25860,588,81834,329,0001,009,0002,277,376
10Apr 14, 2026 05:184,27558,748,58534,470,0001,013,0002,277,376
11Apr 14, 2026 05:174,29357,851,21134,611,0001,017,0002,277,376
12Apr 14, 2026 05:184,29965,707,40034,659,0001,019,0002,277,376
13Apr 14, 2026 05:184,29959,917,79134,661,0001,019,0002,490,368
14Apr 14, 2026 05:174,31764,157,98333,843,0001,990,0002,494,464
15Apr 14, 2026 05:174,31763,405,22133,844,0001,990,0002,277,376