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 listFeb 7, 2026 18:11Benn TanBenn TanScore: 9,404Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 7, 2026 18:119,370102,817,22375,780,0001,994,0002,289,664
2Feb 7, 2026 18:119,376104,759,44075,824,0001,995,0002,289,664
3Feb 7, 2026 18:119,377108,169,62576,836,000997,0002,289,664
4Feb 7, 2026 18:119,378103,805,36176,842,000997,0002,273,280
5Feb 7, 2026 18:119,379103,743,73876,845,000997,0002,273,280
6Feb 7, 2026 18:119,382108,889,59075,871,0001,996,0002,269,184
7Feb 7, 2026 18:119,386109,870,32176,908,000998,0002,269,184
8Feb 7, 2026 18:119,391102,609,67775,945,0001,998,0002,269,184
9Feb 7, 2026 18:119,401103,642,91176,027,0002,000,0002,285,568
10Feb 7, 2026 18:119,404104,396,25977,055,0001,000,0002,293,760
11Feb 7, 2026 18:119,406107,216,15576,071,0002,001,0002,293,760
12Feb 7, 2026 18:119,408109,174,31477,089,0001,001,0002,293,760
13Feb 7, 2026 18:119,414103,156,96976,135,0002,003,0002,277,376
14Feb 7, 2026 18:119,427110,663,06276,239,0002,006,0002,293,760
15Feb 7, 2026 18:119,431100,552,55676,272,0002,007,0002,285,568
16Feb 7, 2026 18:119,498111,165,72776,842,0001,995,0002,277,376
17Feb 7, 2026 18:119,514115,232,67277,968,000999,0002,293,760
18Feb 7, 2026 18:119,520106,191,98277,016,0002,000,0002,293,760