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 24, 2026 22:10Mikołaj UzarskiMikołaj UzarskiError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 04:12Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 04:12051,030,77940,098,0001,277,0002,113,536expected "74600294196621100 ", got "74605594616955535 "
2Jul 7, 2026 04:125,00351,122,76440,515,0001,018,0002,113,536
3Jul 7, 2026 04:125,01051,395,86440,568,0001,020,0002,117,632
4Feb 24, 2026 22:105,10769,008,89240,367,0002,018,0002,285,568
5Feb 24, 2026 22:105,10865,421,03940,381,0002,019,0002,510,848
6Feb 24, 2026 22:105,10861,877,57240,381,0002,019,0002,510,848
7Feb 24, 2026 22:105,11467,987,32841,437,0001,010,0002,285,568
8Feb 24, 2026 22:105,11463,700,90740,424,0002,021,0002,506,752
9Feb 24, 2026 22:105,11467,250,39941,434,0001,010,0002,285,568
10Feb 24, 2026 22:105,11667,060,59942,465,00002,285,568
11Feb 24, 2026 22:105,11764,288,82641,462,0001,011,0002,289,664
12Feb 24, 2026 22:105,11764,866,04140,445,0002,022,0002,486,272
13Feb 24, 2026 22:105,12264,253,81442,514,00002,289,664
14Feb 24, 2026 22:105,12367,309,48041,513,0001,012,0002,510,848
15Feb 24, 2026 22:105,12469,194,61041,518,0001,012,0002,281,472
16Feb 24, 2026 22:105,12670,982,48841,531,0001,012,0002,285,568
17Feb 24, 2026 22:105,12769,919,36442,556,00002,285,568
18Feb 24, 2026 22:105,13068,815,13541,568,0001,013,0002,285,568
19Feb 24, 2026 22:105,13072,407,65941,567,0001,013,0002,506,752
20Feb 24, 2026 22:105,13270,973,09241,579,0001,014,0002,281,472
21Feb 24, 2026 22:105,15769,421,68540,811,0001,990,0002,506,752
22Feb 24, 2026 22:105,16769,042,20542,889,00002,285,568
23Feb 24, 2026 22:105,20763,928,37342,212,0001,005,0002,285,568
24Feb 24, 2026 22:105,29471,580,84641,946,0001,997,0002,514,944