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 04:56Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 23:40Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 23:40044,220,29835,036,0001,057,0002,113,536expected "74600294196621100 ", got "35430358966128940 "
2Jul 6, 2026 23:40044,428,99235,189,0001,039,0002,113,536expected "74600294196621100 ", got "35452213634933036 "
3Jul 6, 2026 23:40042,658,37433,534,0001,033,0002,113,536expected "74600294196621100 ", got "32665338533282092 "
4May 10, 2026 04:564,28253,985,74934,500,0001,043,0002,543,616
5May 10, 2026 04:564,28951,980,03134,533,0001,066,0002,551,808
6May 10, 2026 04:564,29252,737,25334,573,0001,055,0002,551,808
7May 10, 2026 04:564,29550,858,89834,599,0001,055,0002,555,904
8May 10, 2026 04:564,29652,960,30234,601,0001,060,0002,543,616
9May 10, 2026 04:564,29950,778,57234,642,0001,047,0002,543,616
10May 10, 2026 04:564,30352,648,34534,679,0001,038,0002,547,712
11May 10, 2026 04:564,30353,399,17234,684,0001,032,0002,551,808
12May 10, 2026 04:564,31450,951,65034,633,0001,179,0002,297,856