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 14, 2024 04:15zielajzielajError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 16, 2026 03:20Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 16, 2026 03:48031,735,77522,846,000016,384No answer to stdout. Died or killed?
2Nov 14, 2024 04:154,12055,095,12033,194,0001,005,0002,371,584
3Nov 14, 2024 04:154,12854,512,64132,248,0002,015,0002,527,232
4Nov 14, 2024 04:154,12962,281,10533,262,0001,007,0002,383,872
5Nov 14, 2024 04:154,15153,702,30733,443,0001,013,0002,371,584
6Nov 14, 2024 04:154,15360,872,98134,468,00002,367,488
7Nov 14, 2024 04:154,43865,022,40334,847,0001,991,0002,363,392