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 18, 2026 17:02wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 20:11Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 20:11041,238,95232,052,0001,038,0002,113,536expected "74600294196621100 ", got "74534440596707170 "
2Jul 6, 2026 20:11042,828,70833,807,0001,001,0002,113,536expected "74600294196621100 ", got "74535240206996970 "
3Jul 6, 2026 20:11044,342,31835,261,0001,004,0002,113,536expected "74600294196621100 ", got "74535241706848970 "
4Apr 19, 2026 03:454,08656,298,60531,918,0001,994,0002,502,656
5Apr 19, 2026 03:334,08656,112,11431,921,0001,995,0002,502,656
6Apr 18, 2026 17:014,09360,214,66031,970,0001,998,0002,277,376
7Apr 19, 2026 03:284,09359,588,85831,978,0001,998,0002,531,328
8Apr 18, 2026 16:584,09455,713,27131,985,0001,999,0002,277,376
9Apr 18, 2026 17:014,09657,335,54731,996,0001,999,0002,490,368
10Apr 19, 2026 03:334,09756,797,06332,001,0002,000,0002,490,368
11Apr 18, 2026 16:584,09953,871,76932,023,0002,001,0002,531,328
12Apr 19, 2026 03:454,09958,518,80832,018,0002,001,0002,277,376
13Apr 18, 2026 16:584,10754,577,63332,083,0002,005,0002,535,424
14Apr 19, 2026 03:284,11455,394,24532,140,0002,008,0002,486,272
15Apr 19, 2026 03:284,11553,415,64432,146,0002,009,0002,490,368
16Apr 18, 2026 17:024,12466,046,30032,213,0002,013,0002,494,464
17Apr 18, 2026 17:024,14259,721,79333,370,0001,011,0002,277,376
18Apr 18, 2026 17:014,15564,069,85533,474,0001,014,0002,277,376
19Apr 19, 2026 03:454,15960,750,00433,501,0001,015,0002,494,464
20Apr 19, 2026 03:334,20460,167,73132,898,0001,993,0002,531,328
21Apr 18, 2026 17:024,36757,921,96734,231,0002,013,0002,277,376