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 listMay 7, 2026 11:07wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 00:20Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 00:21037,132,05428,123,0001,025,0002,113,536expected "74600294196621100 ", got "74535198282622790 "
2Jul 4, 2026 00:21036,982,16528,012,0001,036,0002,113,536expected "74600294196621100 ", got "74535201171814150 "
3Jul 4, 2026 00:21037,935,67128,705,0001,014,0002,113,536expected "74600294196621100 ", got "74535216572948120 "
4May 7, 2026 11:083,38244,300,40027,013,0001,060,0002,490,368
5May 7, 2026 11:083,38543,203,93627,058,0001,041,0002,482,176
6May 7, 2026 11:083,39243,789,57627,066,0001,095,0002,478,080
7May 7, 2026 11:083,40644,683,47527,189,0001,084,0002,486,272
8May 7, 2026 11:083,40944,187,76027,214,0001,081,0002,473,984
9May 7, 2026 11:083,47255,767,34427,729,0001,091,0002,490,368
10May 7, 2026 11:083,48144,200,00227,801,0001,098,0002,482,176
11May 7, 2026 11:083,56946,607,99028,551,0001,075,0002,482,176
12May 7, 2026 11:083,57845,563,99428,627,0001,071,0002,486,272