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 5, 2021 10:04Sergey StreminSergey StreminScore: 26,324Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 10:0426,077287,320,868216,438,00502,232,320
2Sep 5, 2021 10:0426,085307,306,258216,508,70402,224,128
3Sep 5, 2021 10:0426,085286,285,013216,502,70802,220,032
4Sep 5, 2021 10:0426,087281,192,847216,522,03602,224,128
5Sep 5, 2021 10:0426,267243,857,360216,017,0002,000,0002,367,488
6Sep 5, 2021 10:0426,272245,653,028217,057,0001,000,0002,281,472
7Sep 5, 2021 10:0526,280242,372,419216,122,0002,001,0002,375,680
8Sep 5, 2021 10:0426,283241,530,858217,153,0001,000,0002,367,488
9Sep 5, 2021 10:0526,285241,367,007217,164,0001,000,0002,363,392
10Sep 5, 2021 10:0426,305240,433,722218,333,00002,281,472
11Sep 5, 2021 10:0426,307245,208,150217,348,0001,001,0002,367,488
12Sep 5, 2021 10:0526,308241,089,541217,354,0001,001,0002,281,472
13Sep 5, 2021 10:0526,311250,157,963218,378,00002,281,472
14Sep 5, 2021 10:0426,312242,083,322218,393,00002,281,472
15Sep 5, 2021 10:0426,317241,640,757218,427,00002,281,472
16Sep 5, 2021 10:0426,319246,992,364217,447,0001,002,0002,281,472
17Sep 5, 2021 10:0426,320239,329,300217,454,0001,002,0002,371,584
18Sep 5, 2021 10:0526,323245,021,011217,480,0001,002,0002,281,472
19Sep 5, 2021 10:0526,324238,237,652217,488,0001,002,0002,371,584
20Sep 5, 2021 10:0426,333250,281,770218,562,00002,367,488
21Sep 5, 2021 10:0526,337246,305,456217,597,0001,002,0002,281,472
22Sep 5, 2021 10:0426,340244,471,900217,621,000998,0002,375,680
23Sep 5, 2021 10:0426,353244,207,355217,734,000998,0002,281,472
24Sep 5, 2021 10:0428,174303,302,299233,843,88802,260,992
25Sep 5, 2021 10:0528,199288,675,332234,048,85102,236,416
26Sep 5, 2021 10:0528,240302,903,831234,392,18102,236,416
27Sep 5, 2021 10:0428,261307,066,771234,567,43402,224,128
28Sep 5, 2021 10:0528,271299,051,384234,650,67302,228,224
29Sep 5, 2021 10:0428,496266,458,702236,516,00002,367,488
30Sep 5, 2021 10:0528,497262,651,840235,527,0001,002,0002,281,472
31Sep 5, 2021 10:0428,501265,145,371235,557,0001,002,0002,281,472
32Sep 5, 2021 10:0528,508267,523,761236,620,00002,383,872
33Sep 5, 2021 10:0428,509264,929,857236,623,00002,281,472
34Sep 5, 2021 10:0428,524263,009,243235,753,000998,0002,281,472
35Sep 5, 2021 10:0428,532260,438,817235,818,000999,0002,281,472
36Sep 5, 2021 10:0428,538263,501,829234,865,0001,998,0002,281,472