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 20:34Daniel MastalerzDaniel MastalerzError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 21:27Adam Folwarczny10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 21:28059,852,71447,532,0002,328,0002,113,536expected "27617841214539459 ", got "191062982112506041"
2Jul 7, 2026 21:28059,270,54247,257,0002,283,0002,113,536expected "27617841214539459 ", got "191062982112506041"
3Jul 7, 2026 21:28059,342,41347,270,0002,249,0002,113,536expected "27617841214539459 ", got "191062982112506041"
4Feb 24, 2026 20:345,37072,699,76141,530,0003,038,0002,326,528
5Feb 24, 2026 20:345,37173,585,86341,541,0003,039,0002,326,528
6Feb 24, 2026 20:345,37675,722,28341,576,0003,042,0002,314,240
7Feb 24, 2026 20:345,37773,056,15841,588,0003,043,0002,310,144
8Feb 24, 2026 20:345,37969,069,71342,617,0002,029,0002,523,136
9Feb 24, 2026 20:345,38072,957,00041,611,0003,044,0002,318,336
10Feb 24, 2026 20:345,38668,802,49040,729,0003,973,0002,326,528
11Feb 24, 2026 20:345,39071,452,03640,759,0003,976,0002,318,336
12Feb 24, 2026 20:345,39774,706,33440,810,0003,981,0002,265,088
13Feb 24, 2026 20:345,40768,037,11540,892,0003,989,0002,326,528
14Feb 24, 2026 20:345,42066,030,19441,991,0002,999,0002,326,528
15Feb 24, 2026 20:345,46973,458,32941,357,0004,034,0002,318,336
16Feb 24, 2026 20:345,47069,071,19343,384,0002,017,0002,306,048
17Feb 24, 2026 20:345,47771,120,29842,429,0003,030,0002,285,568
18Feb 24, 2026 20:345,47974,258,27843,455,0002,021,0002,265,088
19Feb 24, 2026 20:345,48768,199,93242,504,0003,036,0002,519,040
20Feb 24, 2026 20:345,48976,970,75841,512,0004,050,0002,326,528
21Feb 24, 2026 20:345,49073,658,62541,518,0004,050,0002,310,144