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 19, 2021 18:30Yuriy LyfenkoYuriy LyfenkoScore: 17,351Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 18:3017,250725,998,433140,196,0002,982,0002,260,992
2May 19, 2021 18:3017,2542,760,290,075141,218,0001,988,0002,265,088
3May 19, 2021 18:2917,2541,716,090,350141,221,0001,989,0002,519,040
4May 19, 2021 18:2917,254573,686,085141,203,0002,002,0002,519,040
5May 19, 2021 18:2917,2591,387,279,788142,257,000994,0002,256,896
6May 19, 2021 18:2917,261416,240,164140,282,0002,984,0002,523,136
7May 19, 2021 18:2917,268811,699,991141,334,0001,990,0002,396,160
8May 19, 2021 18:3017,2701,368,928,287142,346,000995,0002,519,040
9May 19, 2021 18:2917,2762,351,368,982141,402,0001,991,0002,260,992
10May 19, 2021 18:2917,2792,258,794,686140,429,0002,987,0002,523,136
11May 19, 2021 18:3017,2791,933,870,487141,407,0002,005,0002,260,992
12May 19, 2021 18:2917,2863,128,665,838139,462,0004,013,0002,260,992
13May 19, 2021 18:3017,351421,711,095142,014,0002,000,0002,527,232
14May 19, 2021 18:3017,359764,007,777142,079,0002,001,0002,519,040
15May 19, 2021 18:3017,375734,253,711142,226,0001,989,0002,260,992
16May 19, 2021 18:2917,3852,592,056,514143,303,000995,0002,260,992
17May 19, 2021 18:3017,3902,998,122,586142,350,0001,990,0002,519,040
18May 19, 2021 18:3017,3911,934,250,306142,352,0001,990,0002,400,256
19May 19, 2021 18:2918,2372,331,998,728151,366,21902,273,280
20May 19, 2021 18:3018,2411,641,119,158151,400,76202,269,184
21May 19, 2021 18:2918,244421,415,717151,427,48502,281,472
22May 19, 2021 18:2918,248937,827,127151,461,00302,269,184
23May 19, 2021 18:3018,2502,529,076,751151,474,91002,428,928
24May 19, 2021 18:3018,252974,079,427151,488,27402,277,376