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 listSep 13, 2022 03:26Yuriy LyfenkoYuriy LyfenkoScore: 7,537Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 13, 2022 03:267,37785,930,56558,220,0003,011,0002,428,928
2Sep 13, 2022 03:267,38383,517,16659,273,0002,009,0002,510,848
3Sep 13, 2022 03:267,40787,848,13458,459,0003,023,0002,396,160
4Sep 13, 2022 03:267,42392,116,23658,581,0003,030,0002,306,048
5Sep 13, 2022 03:277,44882,661,06757,827,0003,988,0002,301,952
6Sep 13, 2022 03:277,45094,316,38356,851,0004,986,0002,269,184
7Sep 13, 2022 03:277,46086,821,19258,926,0002,996,0002,355,200
8Sep 13, 2022 03:267,461120,463,38361,926,92002,273,280
9Sep 13, 2022 03:277,461121,017,47761,922,53502,289,664
10Sep 13, 2022 03:267,477111,777,04962,061,06402,183,168
11Sep 13, 2022 03:277,483124,798,21562,105,84102,207,744
12Sep 13, 2022 03:267,507128,955,29462,310,29002,289,664
13Sep 13, 2022 03:267,51295,203,55359,333,0003,016,0002,449,408
14Sep 13, 2022 03:277,513120,977,80762,357,71902,273,280
15Sep 13, 2022 03:277,513119,240,37862,357,94102,236,416
16Sep 13, 2022 03:277,514119,010,22562,366,83602,215,936
17Sep 13, 2022 03:277,52187,533,92557,388,0005,034,0002,301,952
18Sep 13, 2022 03:277,532137,348,71962,515,51802,187,264
19Sep 13, 2022 03:267,53382,199,59459,500,0003,025,0002,334,720
20Sep 13, 2022 03:277,53786,549,04158,524,0004,036,0002,519,040
21Sep 13, 2022 03:267,54697,687,13758,593,0004,040,0002,510,848
22Sep 13, 2022 03:267,57088,345,17458,844,0003,989,0002,273,280
23Sep 13, 2022 03:277,57590,770,38260,877,0001,995,0002,441,216
24Sep 13, 2022 03:277,58588,200,07459,955,0002,997,0002,293,760
25Sep 13, 2022 03:277,59188,183,93060,008,0003,000,0002,490,368
26Sep 13, 2022 03:267,62385,236,73758,252,0005,021,0002,277,376
27Sep 13, 2022 03:277,92791,812,37262,806,0002,990,0002,428,928
28Sep 13, 2022 03:2629,425266,985,157240,223,0004,003,0002,363,392
29Sep 13, 2022 03:2629,446274,615,679240,396,0004,006,0002,322,432
30Sep 13, 2022 03:2629,474274,942,063242,640,0001,997,0002,297,856
31Sep 13, 2022 03:2629,548270,169,694243,249,0002,002,0002,383,872
32Sep 13, 2022 03:2629,554269,521,726239,294,0006,007,0002,408,448
33Sep 13, 2022 03:2629,607276,043,809241,739,0003,995,0002,367,488
34Sep 13, 2022 03:2629,607277,758,541243,745,0001,997,0002,363,392
35Sep 13, 2022 03:2629,725278,472,203242,720,0003,995,0002,490,368
36Sep 13, 2022 03:2629,775311,414,940247,133,47902,306,048
37Sep 13, 2022 03:2629,776274,928,998244,143,0003,001,0002,363,392
38Sep 13, 2022 03:2629,857318,274,049247,809,90502,207,744
39Sep 13, 2022 03:2629,864309,851,567247,872,12502,281,472