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 14, 2026 05:11wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 21:23Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 21:24039,089,35129,463,0001,080,0002,113,536expected "74600294196621100 ", got "73525444102644012 "
2Jul 6, 2026 21:24041,558,84632,646,0001,077,0002,113,536expected "74600294196621100 ", got "73916252716806444 "
3Jul 6, 2026 21:24037,381,91428,165,0001,137,0002,113,536expected "74600294196621100 ", got "72374600900270124 "
4Apr 14, 2026 05:114,06161,673,42832,683,0001,021,0002,498,560
5Apr 14, 2026 05:104,06460,670,67431,747,0001,984,0002,277,376
6Apr 14, 2026 05:104,07866,338,49631,856,0001,991,0002,277,376
7Apr 14, 2026 05:114,07959,551,82031,867,0001,991,0002,490,368
8Apr 14, 2026 05:114,08363,533,40331,895,0001,993,0002,277,376
9Apr 14, 2026 05:114,09556,326,12631,987,0001,999,0002,494,464
10Apr 14, 2026 05:104,10757,667,72632,085,0002,005,0002,277,376
11Apr 14, 2026 05:104,21859,801,66033,013,0002,000,0002,494,464
12Apr 14, 2026 05:114,22359,584,92733,045,0002,002,0002,502,656
13Apr 14, 2026 05:104,22761,588,44633,078,0002,004,0002,277,376
14Apr 14, 2026 05:114,23164,236,66933,112,0002,006,0002,277,376
15Apr 14, 2026 05:104,23759,863,62533,154,0002,009,0002,494,464
16Apr 14, 2026 05:114,26957,264,27334,417,0001,012,0002,277,376
17Apr 14, 2026 05:114,27761,347,07234,486,0001,014,0002,277,376
18Apr 14, 2026 05:114,31960,588,84034,849,000995,0002,277,376