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 10, 2026 13:52Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 21:11Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 21:12042,719,70733,534,0001,106,0002,113,536expected "74600294196621100 ", got "74468427820660780 "
2Jul 6, 2026 21:12044,900,05935,734,0001,071,0002,113,536expected "74600294196621100 ", got "74566057524604460 "
3Jul 6, 2026 21:12043,885,55134,611,0001,132,0002,113,536expected "74600294196621100 ", got "74471276334050604 "
4May 10, 2026 13:524,19142,471,57733,755,0001,038,0002,113,536
5May 10, 2026 13:524,19444,312,45733,767,0001,049,0002,113,536
6May 10, 2026 13:524,19442,067,90433,778,0001,037,0002,113,536
7May 10, 2026 13:524,19642,075,82833,790,0001,038,0002,113,536
8May 10, 2026 13:524,20343,142,16933,844,0001,046,0002,113,536
9May 10, 2026 13:524,20744,535,83933,915,0001,011,0002,113,536
10May 10, 2026 13:524,22544,775,31434,027,0001,047,0002,113,536
11May 10, 2026 13:524,24442,519,66934,174,0001,055,0002,113,536
12May 10, 2026 13:524,31844,268,14434,814,0001,030,0002,113,536