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 19, 2026 04:25wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:41Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:41039,219,80430,193,0001,023,0002,113,536expected "74600294196621100 ", got "74535530140912730 "
2Jul 6, 2026 17:41037,263,21828,253,0001,068,0002,113,536expected "74600294196621100 ", got "74534439506186820 "
3Jul 6, 2026 17:41039,007,45330,008,0001,029,0002,113,536expected "74600294196621100 ", got "74535241376924970 "
4Apr 19, 2026 04:153,68856,669,64629,589,0001,020,0002,531,328
5Apr 19, 2026 04:253,69055,643,36129,607,0001,020,0002,269,184
6Apr 19, 2026 04:253,69156,739,35029,614,0001,021,0002,531,328
7Apr 19, 2026 04:253,69254,001,35429,625,0001,021,0002,494,464
8Apr 19, 2026 04:253,69257,121,80029,623,0001,021,0002,498,560
9Apr 19, 2026 04:153,69358,863,43129,632,0001,021,0002,498,560
10Apr 19, 2026 04:173,70057,529,76829,687,0001,023,0002,494,464
11Apr 19, 2026 04:253,71457,874,89229,833,000994,0002,531,328
12Apr 19, 2026 04:253,71453,092,85828,836,0001,988,0002,531,328
13Apr 19, 2026 04:153,71557,756,12429,844,000994,0002,269,184
14Apr 19, 2026 04:253,71555,699,13328,844,0001,989,0002,486,272
15Apr 19, 2026 04:173,71653,541,95928,854,0001,989,0002,494,464
16Apr 19, 2026 04:153,71657,711,70428,856,0001,990,0002,490,368
17Apr 19, 2026 04:253,71656,381,78528,853,0001,989,0002,531,328
18Apr 19, 2026 04:173,71754,602,90529,853,000995,0002,498,560
19Apr 19, 2026 04:253,71856,718,54628,867,0001,990,0002,531,328
20Apr 19, 2026 04:153,71958,030,75028,876,0001,991,0002,498,560
21Apr 19, 2026 04:173,72155,263,86128,893,0001,992,0002,494,464
22Apr 19, 2026 04:173,73357,225,65628,986,0001,999,0002,494,464
23Apr 19, 2026 04:253,73454,083,47328,992,0001,999,0002,494,464
24Apr 19, 2026 04:153,74054,427,26629,038,0002,002,0002,498,560
25Apr 19, 2026 04:253,74451,294,74929,071,0002,004,0002,531,328
26Apr 19, 2026 04:153,74754,129,16829,096,0002,006,0002,502,656
27Apr 19, 2026 04:153,75354,880,85229,142,0002,009,0002,531,328
28Apr 19, 2026 04:253,78559,111,88130,405,0001,013,0002,531,328
29Apr 19, 2026 04:173,84153,161,39929,890,0001,992,0002,269,184
30Apr 19, 2026 04:153,87759,441,70031,172,0001,005,0002,531,328