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 28, 2025 07:36sheryllynn24sheryllynn24Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
May 17, 2026 14:27M-Rochat10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2026 15:19029,308,55817,812,0001,201,0002,113,536expected "11318049299365247 ", got "25845745224584160 "
2May 17, 2026 15:19030,418,45017,811,0001,189,0002,113,536expected "11318049299365247 ", got "25845745224584160 "
3May 17, 2026 15:19028,683,05517,571,0001,233,0002,113,536expected "11318049299365247 ", got "25845745224584160 "
4Sep 28, 2025 07:365,99976,776,70148,795,000995,0002,277,376
5Sep 28, 2025 07:365,99976,170,20148,798,000995,0002,285,568
6Sep 28, 2025 07:366,00076,290,25047,810,0001,992,0002,285,568
7Sep 28, 2025 07:526,00073,557,51848,803,000995,0002,273,280
8Sep 28, 2025 07:526,00078,222,43948,803,000995,0002,265,088
9Sep 28, 2025 07:526,00078,084,99048,805,000996,0002,285,568
10Sep 28, 2025 07:366,00176,938,96149,807,00002,265,088
11Sep 28, 2025 07:526,00183,459,92047,815,0001,992,0002,285,568
12Sep 28, 2025 07:526,00375,791,23148,830,000996,0002,285,568
13Sep 28, 2025 07:366,00580,153,77547,848,0001,993,0002,260,992
14Sep 28, 2025 07:366,03180,462,37548,053,0002,002,0002,285,568
15Sep 28, 2025 07:526,03479,692,90849,080,0001,001,0002,265,088
16Sep 28, 2025 07:526,03874,734,84247,110,0003,007,0002,269,184
17Sep 28, 2025 07:366,05578,126,44948,249,0002,010,0002,519,040
18Sep 28, 2025 07:366,05980,666,06348,277,0002,011,0002,285,568
19Sep 28, 2025 07:526,06679,386,12650,349,00002,285,568
20Sep 28, 2025 07:366,08072,693,07450,464,00002,285,568
21Sep 28, 2025 07:526,08882,133,48749,517,0001,010,0002,285,568
22Sep 28, 2025 07:526,12384,373,99748,832,0001,993,0002,285,568
23Sep 28, 2025 07:526,12376,655,89948,831,0001,993,0002,285,568
24Sep 28, 2025 07:526,14680,574,68049,013,0002,000,0002,265,088
25Sep 28, 2025 07:366,17375,063,95149,228,0002,009,0002,269,184
26Sep 28, 2025 07:366,19779,120,29450,427,0001,008,0002,285,568
27Sep 28, 2025 07:366,31578,277,34250,398,0002,015,0002,285,568