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 listJan 17, 2022 06:47Yuriy LyfenkoYuriy LyfenkoScore: 27,156Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2022 06:4827,118250,093,247223,082,0002,000,0002,473,984
2Jan 17, 2022 06:4727,124248,195,178222,129,0003,001,0002,543,616
3Jan 17, 2022 06:4727,133244,442,037223,204,0002,001,0002,281,472
4Jan 17, 2022 06:4827,133277,667,875225,206,03702,179,072
5Jan 17, 2022 06:4727,133246,439,834223,205,0002,001,0002,543,616
6Jan 17, 2022 06:4827,136260,004,637222,224,0003,003,0002,281,472
7Jan 17, 2022 06:4827,139249,965,063222,247,0003,003,0002,461,696
8Jan 17, 2022 06:4827,142249,427,036223,278,0002,002,0002,281,472
9Jan 17, 2022 06:4827,145249,763,157224,299,0001,001,0002,539,520
10Jan 17, 2022 06:4827,152280,700,412225,357,68002,183,168
11Jan 17, 2022 06:4827,154247,027,778223,376,0002,003,0002,469,888
12Jan 17, 2022 06:4827,155247,900,999223,385,0002,003,0002,281,472
13Jan 17, 2022 06:4727,156246,545,615224,392,0001,001,0002,281,472
14Jan 17, 2022 06:4727,156293,064,493225,391,60602,191,360
15Jan 17, 2022 06:4827,157246,965,439224,404,0001,001,0002,469,888
16Jan 17, 2022 06:4827,159255,348,561223,417,0002,003,0002,281,472
17Jan 17, 2022 06:4727,160289,813,633225,424,92402,306,048
18Jan 17, 2022 06:4727,161304,017,709225,434,45002,187,264
19Jan 17, 2022 06:4727,162247,312,206222,443,0003,005,0002,543,616
20Jan 17, 2022 06:4827,163287,659,915225,450,42602,187,264
21Jan 17, 2022 06:4727,165255,761,519223,466,0002,004,0002,281,472
22Jan 17, 2022 06:4727,166251,976,971224,473,0001,002,0002,281,472
23Jan 17, 2022 06:4727,167257,909,406223,480,0002,004,0002,543,616
24Jan 17, 2022 06:4727,173254,068,865224,533,0001,002,0002,469,888