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 3, 2026 05:25limanjun99limanjun99Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 04:48Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 04:48050,691,76338,812,0002,228,0002,113,536expected "74600294196621100 ", got "74600053897998124"
2Jul 7, 2026 04:48053,447,09340,522,0003,263,0002,113,536expected "74600294196621100 ", got "72232260065603372"
3Jul 7, 2026 04:48050,690,12937,807,0003,258,0002,113,536expected "74600294196621100 ", got "74600053897998124"
4May 3, 2026 05:265,31258,532,16841,017,0003,076,0002,416,640
5May 3, 2026 05:265,32559,209,39141,189,0003,013,0002,424,832
6May 3, 2026 05:265,33364,224,50841,251,0003,018,0002,428,928
7May 3, 2026 05:265,34260,609,14840,311,0004,031,0002,424,832
8May 3, 2026 05:265,34560,724,12340,333,0004,033,0002,433,024
9May 3, 2026 05:265,39066,835,60640,768,0003,977,0002,424,832
10May 3, 2026 05:265,40263,882,29539,859,0004,982,0002,428,928
11May 3, 2026 05:265,40763,569,84839,898,0004,987,0002,428,928
12May 3, 2026 05:265,43663,767,54241,114,0004,011,0002,416,640