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 listAug 2, 2025 16:35Jack FrigaardJack FrigaardError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 03:02Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 03:02046,047,88335,387,0001,039,0002,113,536expected "74600294196621100 ", got "74600346884071020 "
2Jul 7, 2026 03:02058,412,67937,200,0001,139,0002,113,536expected "74600294196621100 ", got "74611998042623479 "
3Jul 7, 2026 03:024,44546,454,53235,854,0001,041,0002,113,536
4Aug 2, 2025 16:354,64262,493,14737,514,0001,013,0002,519,040
5Aug 2, 2025 16:354,64666,029,32136,531,0002,029,0002,519,040
6Aug 2, 2025 16:354,64762,891,81837,559,0001,015,0002,461,696
7Aug 2, 2025 16:354,65271,474,08236,582,0002,032,0002,519,040
8Aug 2, 2025 16:354,65268,044,78036,583,0002,032,0002,445,312
9Aug 2, 2025 16:354,65665,531,99436,612,0002,034,0002,519,040
10Aug 2, 2025 16:354,65972,249,19037,649,0001,017,0002,519,040
11Aug 2, 2025 16:354,66367,162,36936,669,0002,037,0002,519,040
12Aug 2, 2025 16:354,66565,145,17836,680,0002,037,0002,519,040
13Aug 2, 2025 16:354,67567,204,84135,816,0002,984,0002,445,312
14Aug 2, 2025 16:354,67773,725,50935,834,0002,986,0002,441,216
15Aug 2, 2025 16:354,67770,041,52536,827,0001,990,0002,519,040
16Aug 2, 2025 16:354,67967,202,10335,849,0002,987,0002,519,040
17Aug 2, 2025 16:354,70564,168,51936,048,0003,004,0002,519,040
18Aug 2, 2025 16:354,73462,275,65638,285,0001,007,0002,519,040
19Aug 2, 2025 16:354,73566,138,96637,289,0002,015,0002,514,944
20Aug 2, 2025 16:354,73762,551,89836,293,0003,024,0002,457,600
21Aug 2, 2025 16:354,73961,659,75236,306,0003,025,0002,519,040
22Aug 2, 2025 16:354,74564,515,29737,363,0002,019,0002,453,504
23Aug 2, 2025 16:354,74765,670,87436,368,0003,030,0002,519,040
24Aug 2, 2025 16:354,75760,357,70938,467,0001,012,0002,445,312
25Aug 2, 2025 16:354,78267,070,86137,654,0002,035,0002,445,312
26Aug 2, 2025 16:354,81263,662,05237,942,0001,996,0002,297,856
27Aug 2, 2025 16:355,16067,372,25640,840,0001,992,0002,519,040