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 listSep 21, 2025 07:57sheryllynn24sheryllynn24Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 16, 2026 03:23Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2026 17:350101,052,83789,092,0001,042,0002,117,632expected "35158233794626882 ", got "636999997880062191 "stderr
2Oct 17, 2026 17:35050,715,58338,678,0001,015,0002,117,632expected "7834092174103988 ", got "13291331617289514527 "stderr
3Oct 17, 2026 17:35075,896,33163,346,0001,065,0002,117,632expected "107373933433727184 ", got "128402036822250342 "stderr
4Sep 21, 2025 07:578,06194,733,49365,908,000998,0002,289,664
5Sep 21, 2025 07:578,12695,900,78266,438,0001,006,0002,269,184
6Sep 21, 2025 07:578,54696,789,50868,933,0001,998,0002,289,664
7Sep 21, 2025 07:578,551101,868,64368,974,0001,999,0002,523,136
8Sep 21, 2025 07:578,566106,348,84369,093,0002,002,0002,289,664
9Sep 21, 2025 07:578,56698,861,53469,092,0002,002,0002,383,872
10Sep 21, 2025 07:578,56997,120,88869,118,0002,003,0002,285,568
11Sep 21, 2025 07:578,57297,209,23369,146,0002,004,0002,289,664
12Sep 21, 2025 07:578,57399,157,19469,151,0002,004,0002,289,664
13Sep 21, 2025 07:578,582103,463,14769,224,0002,006,0002,527,232
14Sep 21, 2025 07:578,64298,161,50769,738,0001,992,0002,527,232
15Sep 21, 2025 07:578,66297,707,08670,896,000998,0002,510,848