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 29, 2025 22:40Rajarshi BasuRajarshi BasuError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 16, 2026 03:22Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 16, 2026 04:170167,166,804155,532,0001,126,0002,113,536expected "10929954729090491 ", got "10929943224495624 "
2Oct 16, 2026 04:1714,453130,484,870118,933,0001,032,0002,113,536
3Oct 16, 2026 04:1714,490130,918,397119,262,0001,009,0002,113,536
4Nov 29, 2025 22:4016,087160,223,385132,517,0001,003,0002,289,664
5Nov 29, 2025 22:4016,090158,639,459133,551,00002,269,184
6Nov 29, 2025 22:4016,093157,073,298132,567,0001,004,0002,375,680
7Nov 29, 2025 22:4016,110161,364,279131,715,0001,995,0002,289,664
8Nov 29, 2025 22:4016,121160,057,266132,806,000998,0002,265,088
9Nov 29, 2025 22:4016,123158,822,758131,824,0001,997,0002,289,664
10Nov 29, 2025 22:4016,127158,502,043132,858,000998,0002,289,664
11Nov 29, 2025 22:4016,127159,078,336131,857,0001,997,0002,269,184
12Nov 29, 2025 22:4016,134160,154,090131,915,0001,998,0002,289,664