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 listMay 29, 2024 16:11GraceGraceScore: 6,121Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2024 16:115,98375,120,92747,629,0002,026,0002,433,024
2May 29, 2024 16:115,98574,561,36046,693,0002,980,0002,281,472
3May 29, 2024 16:116,00172,257,57246,821,0002,988,0002,416,640
4May 29, 2024 16:116,00379,069,44745,837,0003,985,0002,420,736
5May 29, 2024 16:116,00477,277,87347,839,0001,993,0002,289,664
6May 29, 2024 16:116,05372,671,45646,218,0004,019,0002,433,024
7May 29, 2024 16:116,06471,245,88246,303,0004,026,0002,437,120
8May 29, 2024 16:116,06773,882,04448,338,0002,014,0002,498,560
9May 29, 2024 16:116,07675,539,32146,395,0004,034,0002,433,024
10May 29, 2024 16:116,07976,097,38547,430,0003,027,0002,314,240
11May 29, 2024 16:116,08372,679,65748,468,0002,019,0002,494,464
12May 29, 2024 16:116,09581,191,30548,568,0002,023,0002,289,664
13May 29, 2024 16:116,10376,523,95047,613,0003,039,0002,437,120
14May 29, 2024 16:116,10579,406,35747,631,0003,040,0002,289,664
15May 29, 2024 16:116,11775,475,01547,786,0002,986,0002,289,664
16May 29, 2024 16:116,12177,614,15547,818,0002,988,0002,383,872
17May 29, 2024 16:116,12278,240,96047,825,0002,989,0002,433,024
18May 29, 2024 16:116,12677,560,06447,856,0002,991,0002,367,488
19May 29, 2024 16:116,14374,965,71646,986,0003,998,0002,428,928
20May 29, 2024 16:116,24373,718,72447,831,0003,985,0002,424,832
21May 29, 2024 16:116,34281,672,24449,601,0003,036,0002,379,776
22May 29, 2024 16:116,36586,121,91849,836,0002,990,0002,289,664
23May 29, 2024 16:116,46082,774,28750,583,0003,035,0002,424,832
24May 29, 2024 16:116,46181,861,53749,582,0004,047,0002,437,120
25May 29, 2024 16:116,519112,173,49554,111,76202,195,456
26May 29, 2024 16:116,525112,250,99454,156,95902,306,048
27May 29, 2024 16:116,547115,178,76354,342,56202,191,360
28May 29, 2024 16:116,600116,913,77554,782,58102,310,144
29May 29, 2024 16:116,669126,310,93655,355,87002,183,168
30May 29, 2024 16:116,670126,471,50955,363,36402,183,168