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 15, 2026 14:02caandocaandoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 21:41Adam Folwarczny10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 21:42082,724,93772,075,0001,013,0002,113,536expected "27617841214539459 ", got "32572488912023679 "
2Jul 7, 2026 21:42083,373,58272,668,0001,013,0002,113,536expected "27617841214539459 ", got "32572488912023679 "
3Jul 7, 2026 21:42083,071,06271,195,0002,057,0002,113,536expected "27617841214539459 ", got "32572488912023679 "
4Mar 13, 2026 14:244,56666,206,09735,905,0001,994,0002,285,568
5Mar 13, 2026 14:244,58460,894,37136,046,0002,002,0002,285,568
6Mar 17, 2026 16:474,59661,050,15237,141,0001,003,0002,486,272
7Mar 15, 2026 14:504,60661,260,87236,216,0002,012,0002,486,272
8Mar 15, 2026 14:504,61266,847,53836,263,0002,014,0002,285,568
9Mar 15, 2026 14:524,61362,733,86136,275,0002,015,0002,478,080
10Mar 15, 2026 14:034,61461,120,10136,285,0002,015,0002,478,080
11Mar 17, 2026 16:474,62060,913,08536,325,0002,018,0002,482,176
12Mar 15, 2026 14:504,62358,352,89037,361,0001,009,0002,285,568
13Mar 15, 2026 14:024,62360,511,86036,353,0002,019,0002,285,568
14Mar 13, 2026 14:244,63261,509,72236,423,0002,023,0002,285,568
15Mar 17, 2026 16:474,63358,183,74036,433,0002,024,0002,281,472
16Mar 15, 2026 14:524,63663,610,42434,431,0004,050,0002,478,080
17Mar 15, 2026 14:034,64065,046,70637,499,0001,013,0002,465,792
18Mar 15, 2026 14:034,64765,204,09537,558,0001,015,0002,486,272
19Mar 15, 2026 14:524,67968,455,37935,850,0002,987,0002,277,376
20Mar 15, 2026 14:024,70662,263,80737,058,0002,003,0002,285,568
21Mar 15, 2026 14:024,71170,536,89536,093,0003,007,0002,285,568