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:10Jack FrigaardJack FrigaardScore: 4,661Success
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:094,64060,895,05136,489,0002,027,0002,449,408
2Aug 2, 2025 20:104,64265,445,49535,488,0003,041,0002,519,040
3Aug 2, 2025 20:104,64363,877,13037,519,0001,014,0002,519,040
4Aug 2, 2025 20:094,64466,587,87437,531,0001,014,0002,445,312
5Aug 2, 2025 20:104,64464,522,16835,504,0003,043,0002,519,040
6Aug 2, 2025 20:104,64464,170,82936,514,0002,028,0002,445,312
7Aug 2, 2025 20:104,64664,156,72436,533,0002,029,0002,519,040
8Aug 2, 2025 20:104,65268,159,79536,583,0002,032,0002,445,312
9Aug 2, 2025 20:094,65565,276,94036,601,0002,033,0002,519,040
10Aug 2, 2025 20:104,65766,021,90236,622,0002,034,0002,519,040
11Aug 2, 2025 20:104,66172,699,86836,649,0002,036,0002,441,216
12Aug 2, 2025 20:104,66264,750,40336,657,0002,036,0002,519,040
13Aug 2, 2025 20:104,67870,216,54735,839,0002,986,0002,519,040
14Aug 2, 2025 20:104,68364,424,59036,879,0001,993,0002,449,408
15Aug 2, 2025 20:094,72262,479,62036,175,0003,014,0002,519,040
16Aug 2, 2025 20:104,73462,326,43938,284,0001,007,0002,519,040
17Aug 2, 2025 20:094,73963,012,67836,311,0003,025,0002,260,992
18Aug 2, 2025 20:104,74561,309,01437,368,0002,019,0002,441,216
19Aug 2, 2025 20:104,75063,869,37036,394,0003,032,0002,289,664
20Aug 2, 2025 20:094,78664,477,12838,708,0001,018,0002,449,408
21Aug 2, 2025 20:104,79968,471,13936,848,0002,987,0002,445,312