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 listNov 4, 2025 04:21Tejas G.Tejas G.Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 22:48Andrew Epstein11.08CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 22:56060,565,81045,420,0004,483,0002,113,536expected "10929491023370405 ", got "189044195507881097 "
2Oct 15, 2026 22:56070,118,50748,841,00010,674,0002,113,536expected "36243764465001313 ", got "185399760472663892 "
3Oct 15, 2026 22:56058,498,91943,866,0003,991,00020,480expected "10931876840188137 ", got "189042276418646946 "
4Nov 4, 2025 04:217,14281,756,00157,273,0002,009,0002,371,584
5Nov 4, 2025 04:217,14482,395,15157,289,0002,010,0002,285,568
6Nov 4, 2025 04:217,14780,863,93558,313,0001,005,0002,285,568
7Nov 4, 2025 04:217,14881,869,76558,326,0001,005,0002,269,184
8Nov 4, 2025 04:217,15584,374,44158,378,0001,006,0002,273,280
9Nov 4, 2025 04:217,20885,603,94357,834,0001,994,0002,285,568
10Nov 4, 2025 04:217,20990,609,55658,841,000997,0002,269,184
11Nov 4, 2025 04:217,21182,843,70158,840,0001,014,0002,510,848
12Nov 4, 2025 04:217,21785,985,95057,903,0001,996,0002,285,568
13Nov 4, 2025 04:217,34584,602,63859,964,000999,0002,285,568
14Nov 4, 2025 04:217,34684,381,07558,973,0001,999,0002,285,568
15Nov 4, 2025 04:217,35085,918,27560,007,0001,000,0002,285,568