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 20:08Jack FrigaardJack FrigaardError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 03:08Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 03:09045,993,17935,307,0001,019,0002,113,536expected "74600294196621100 ", got "74608395646707701 "
2Jul 7, 2026 03:09046,190,91935,371,0001,033,0002,113,536expected "74600294196621100 ", got "74600189375074574 "
3Jul 7, 2026 03:094,46546,752,27336,006,0001,061,0002,113,536
4Aug 2, 2025 20:084,64061,665,27037,496,0001,013,0002,519,040
5Aug 2, 2025 20:084,64065,173,04636,483,0002,026,0002,453,504
6Aug 2, 2025 20:084,64165,146,80337,511,0001,013,0002,445,312
7Aug 2, 2025 20:084,64260,744,17135,490,0003,042,0002,519,040
8Aug 2, 2025 20:084,64966,235,08537,570,0001,015,0002,453,504
9Aug 2, 2025 20:084,65164,857,63236,570,0002,031,0002,519,040
10Aug 2, 2025 20:084,65271,373,56237,597,0001,016,0002,441,216
11Aug 2, 2025 20:084,65267,040,39736,580,0002,032,0002,449,408
12Aug 2, 2025 20:084,65466,198,47436,593,0002,032,0002,441,216
13Aug 2, 2025 20:084,65565,925,29337,622,0001,016,0002,453,504
14Aug 2, 2025 20:084,65772,338,70336,622,0002,034,0002,519,040
15Aug 2, 2025 20:084,66062,470,59236,644,0002,035,0002,519,040
16Aug 2, 2025 20:084,69861,579,90235,998,0002,999,0002,445,312
17Aug 2, 2025 20:084,70062,143,21237,007,0002,000,0002,519,040
18Aug 2, 2025 20:084,70562,492,90436,050,0003,004,0002,293,760
19Aug 2, 2025 20:084,71660,238,25938,136,0001,003,0002,519,040
20Aug 2, 2025 20:084,71661,367,42537,136,0002,007,0002,519,040
21Aug 2, 2025 20:084,72059,874,26736,162,0003,013,0002,457,600
22Aug 2, 2025 20:084,72462,962,72036,191,0003,015,0002,441,216
23Aug 2, 2025 20:084,72864,558,66337,228,0002,012,0002,519,040
24Aug 2, 2025 20:084,73264,312,74137,262,0002,014,0002,519,040
25Aug 2, 2025 20:084,74060,589,61337,322,0002,017,0002,449,408
26Aug 2, 2025 20:084,74164,922,87336,326,0003,027,0002,514,944
27Aug 2, 2025 20:084,74966,033,53138,404,0001,010,0002,441,216