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 18, 2026 11:28wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 23:14Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 23:14042,769,76133,599,0001,066,0002,113,536expected "74600294196621100 ", got "73599080810775340 "
2Jul 6, 2026 23:14040,840,60231,614,0001,089,0002,113,536expected "74600294196621100 ", got "73534977584495660 "
3Jul 6, 2026 23:14040,564,11531,485,0001,120,0002,113,536expected "74600294196621100 ", got "73530283030386476 "
4Mar 18, 2026 11:284,24655,938,75233,227,0002,013,0002,273,280
5Mar 18, 2026 11:274,24756,488,88133,233,0002,014,0002,486,272
6Mar 18, 2026 11:274,25354,079,67234,292,0001,008,0002,502,656
7Mar 18, 2026 11:284,25860,802,27534,331,0001,009,0002,273,280
8Mar 18, 2026 11:284,26657,375,64834,396,0001,011,0002,494,464
9Mar 18, 2026 11:284,27459,478,53934,463,0001,013,0002,486,272
10Mar 18, 2026 11:304,27558,427,54834,470,0001,013,0002,490,368
11Mar 18, 2026 11:284,27755,042,25734,487,0001,014,0002,273,280
12Mar 18, 2026 13:134,27960,336,69534,501,0001,014,0002,498,560
13Mar 18, 2026 11:284,27959,751,45034,498,0001,014,0002,273,280
14Mar 18, 2026 11:294,28061,687,60534,512,0001,015,0002,502,656
15Mar 18, 2026 13:134,28159,463,63134,516,0001,015,0002,498,560
16Mar 18, 2026 11:274,28158,814,36934,515,0001,015,0002,494,464
17Mar 18, 2026 11:294,28356,533,90234,534,0001,015,0002,498,560
18Mar 18, 2026 11:304,29063,286,76034,587,0001,017,0002,273,280
19Mar 18, 2026 11:294,31658,228,50733,831,0001,990,0002,523,136
20Mar 18, 2026 13:134,31958,515,44133,860,0001,991,0002,494,464
21Mar 18, 2026 11:304,32063,342,30933,861,0001,991,0002,273,280
22Mar 18, 2026 11:284,32062,146,56234,832,0001,024,0002,498,560
23Mar 18, 2026 11:284,32861,254,01233,929,0001,995,0002,494,464
24Mar 18, 2026 11:284,35863,369,03534,162,0002,009,0002,486,272