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 FrigaardScore: 4,698Success
Source Code

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

Challenge History

No challenges yet.

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