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 11:27wnwnScore: 4,153Success
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 11:264,04763,747,66932,571,0001,017,0002,494,464
2Apr 13, 2026 11:274,05957,933,50732,669,0001,020,0002,277,376
3Apr 13, 2026 11:274,07257,571,48431,808,0001,988,0002,277,376
4Apr 13, 2026 11:274,07660,706,83631,838,0001,989,0002,277,376
5Apr 13, 2026 11:274,07756,843,41431,852,0001,990,0002,277,376
6Apr 13, 2026 11:274,09659,189,67031,999,0001,999,0002,277,376
7Apr 13, 2026 11:274,11960,772,11532,176,0002,011,0002,277,376
8Apr 13, 2026 11:274,15357,988,28633,453,0001,013,0002,498,560
9Apr 13, 2026 11:264,19462,146,85133,817,000994,0002,277,376
10Apr 13, 2026 11:274,19459,541,97333,818,000994,0002,277,376
11Apr 13, 2026 11:264,19762,581,19032,848,0001,990,0002,277,376
12Apr 13, 2026 11:274,20054,431,02032,867,0001,991,0002,277,376
13Apr 13, 2026 11:274,20554,544,64532,904,0001,994,0002,277,376
14Apr 13, 2026 11:274,21657,312,53132,994,0001,999,0002,494,464
15Apr 13, 2026 11:274,25657,578,87434,316,0001,009,0002,277,376