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 08:50wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:36Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:36035,894,26526,875,0001,011,0002,113,536expected "74600294196621100 ", got "74534756068907749 "
2Jul 6, 2026 15:36037,224,87728,191,0001,013,0002,113,536expected "74600294196621100 ", got "74534752918448069 "
3Jul 6, 2026 15:36035,918,74526,942,0001,022,0002,113,536expected "74600294196621100 ", got "74534755753703419 "
4May 7, 2026 08:503,38243,171,93827,007,0001,068,0002,490,368
5May 7, 2026 08:503,38346,130,15227,017,0001,064,0002,490,368
6May 7, 2026 08:503,41144,296,46727,237,0001,076,0002,490,368
7May 7, 2026 08:503,44344,652,46527,493,0001,092,0002,490,368
8May 7, 2026 08:503,45141,141,18427,593,0001,057,0002,482,176
9May 7, 2026 08:503,54346,575,11528,328,0001,083,0002,486,272
10May 7, 2026 08:503,56147,617,96228,470,0001,087,0002,490,368
11May 7, 2026 08:503,56746,687,15228,512,0001,098,0002,486,272
12May 7, 2026 08:503,59045,258,90928,696,0001,103,0002,486,272