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 10:37wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 23:06Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 23:06041,409,23832,131,0001,186,0002,113,536expected "74600294196621100 ", got "73508586735737900 "
2Jul 6, 2026 23:06042,043,40632,210,0001,202,0002,113,536expected "74600294196621100 ", got "73511381311858220 "
3Jul 6, 2026 23:06041,288,84631,952,0001,175,0002,113,536expected "74600294196621100 ", got "73533407172432940 "
4Mar 18, 2026 10:364,23557,593,53933,145,0002,008,0002,523,136
5Mar 18, 2026 10:364,23562,091,92033,141,0002,008,0002,273,280
6Mar 18, 2026 10:414,23952,529,26033,171,0002,010,0002,490,368
7Mar 18, 2026 10:374,24261,565,88833,195,0002,011,0002,273,280
8Mar 18, 2026 10:364,25354,798,15334,290,0001,008,0002,486,272
9Mar 18, 2026 10:414,25464,222,10334,301,0001,008,0002,273,280
10Mar 18, 2026 10:414,25756,304,91534,328,0001,009,0002,494,464
11Mar 18, 2026 10:364,25962,805,51633,330,0002,020,0002,273,280
12Mar 18, 2026 10:374,26157,697,94334,357,0001,010,0002,273,280
13Mar 18, 2026 10:364,27755,367,97134,487,0001,014,0002,273,280
14Mar 18, 2026 10:374,29758,899,31034,647,0001,019,0002,273,280
15Mar 18, 2026 10:374,31762,221,87533,840,0001,990,0002,273,280
16Mar 18, 2026 10:374,31863,262,65334,844,000995,0002,498,560
17Mar 18, 2026 10:364,31969,402,18033,859,0001,991,0002,273,280
18Mar 18, 2026 10:364,32064,973,56233,868,0001,992,0002,273,280
19Mar 18, 2026 10:364,32158,182,88233,871,0001,992,0002,531,328
20Mar 18, 2026 10:364,32658,222,13533,913,0001,994,0002,273,280
21Mar 18, 2026 10:374,73464,216,21938,287,0001,007,0002,498,560