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 24, 2021 19:24Yuriy LyfenkoYuriy LyfenkoScore: 17,492Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 19:2417,281166,408,422142,431,0001,003,0002,383,872
2May 24, 2021 19:2417,286166,609,418142,471,0001,003,0002,383,872
3May 24, 2021 19:2417,288171,679,502142,490,0001,003,0002,379,776
4May 24, 2021 19:2417,291170,788,229142,511,0001,003,0002,383,872
5May 24, 2021 19:2417,293170,217,288142,530,0001,003,0002,387,968
6May 24, 2021 19:2417,294168,575,838142,539,0001,003,0002,260,992
7May 24, 2021 19:2417,295169,017,794143,545,00002,260,992
8May 24, 2021 19:2417,297171,156,593142,558,0001,003,0002,375,680
9May 24, 2021 19:2417,298172,825,365142,573,0001,004,0002,260,992
10May 24, 2021 19:2417,298172,812,261142,567,0001,003,0002,260,992
11May 24, 2021 19:2417,304175,915,144142,622,0001,004,0002,387,968
12May 24, 2021 19:2417,318170,755,561142,741,000998,0002,523,136
13May 24, 2021 19:2417,319169,177,481143,750,00002,387,968
14May 24, 2021 19:2417,320168,614,432141,764,0001,996,0002,260,992
15May 24, 2021 19:2417,321168,336,963142,764,000998,0002,383,872
16May 24, 2021 19:2417,331170,127,012141,848,0001,997,0002,260,992
17May 24, 2021 19:2417,362173,807,799143,106,0001,000,0002,523,136
18May 24, 2021 19:2417,414173,979,879143,532,0001,003,0002,260,992
19May 24, 2021 19:2417,492176,435,492144,184,0001,001,0002,256,896
20May 24, 2021 19:2417,617173,935,330145,222,0001,001,0002,260,992
21May 24, 2021 19:2417,623169,643,794145,271,0001,001,0002,379,776
22May 24, 2021 19:2417,628169,996,657145,311,0001,002,0002,387,968
23May 24, 2021 19:2417,683174,456,364145,774,000998,0002,260,992
24May 24, 2021 19:2417,714178,709,898146,028,0001,000,0002,387,968
25May 24, 2021 19:2417,776191,649,917147,543,05202,260,992
26May 24, 2021 19:2417,785183,783,886147,616,09202,265,088
27May 24, 2021 19:2417,790191,506,827147,658,54002,256,896
28May 24, 2021 19:2417,795183,777,728147,696,13102,260,992
29May 24, 2021 19:2417,808209,798,579147,803,40502,265,088
30May 24, 2021 19:2417,815234,253,846147,862,63802,256,896
31May 24, 2021 19:2417,833191,868,115148,016,89402,256,896
32May 24, 2021 19:2417,861177,924,973147,247,0001,001,0002,260,992
33May 24, 2021 19:2417,866170,334,997147,287,0001,001,0002,379,776
34May 24, 2021 19:2417,870170,360,261148,320,00002,260,992
35May 24, 2021 19:2418,191200,170,445150,981,38202,256,896
36May 24, 2021 19:2418,214208,528,825151,179,23202,260,992