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 5, 2021 22:53Yuriy LyfenkoYuriy LyfenkoScore: 19,850Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 5, 2021 22:5219,251194,096,455159,782,00002,396,160
2May 5, 2021 22:5219,660186,490,947162,181,0001,001,0002,260,992
3May 5, 2021 22:5319,669195,355,244162,248,0001,001,0002,260,992
4May 5, 2021 22:5219,670189,681,480160,261,0003,004,0002,260,992
5May 5, 2021 22:5219,671186,892,957162,269,0001,001,0002,379,776
6May 5, 2021 22:5219,674186,017,102162,292,0001,001,0002,396,160
7May 5, 2021 22:5319,678188,869,195162,326,0001,002,0002,396,160
8May 5, 2021 22:5219,687188,769,532161,400,0002,004,0002,265,088
9May 5, 2021 22:5319,691186,974,591162,434,0001,002,0002,396,160
10May 5, 2021 22:5219,694190,403,650163,459,00002,396,160
11May 5, 2021 22:5219,696190,699,431163,475,00002,260,992
12May 5, 2021 22:5219,697191,439,357162,483,0001,002,0002,260,992
13May 5, 2021 22:5319,705192,258,835159,539,0004,013,0002,392,064
14May 5, 2021 22:5319,830193,235,108164,590,00002,260,992
15May 5, 2021 22:5319,834193,660,128164,626,00002,260,992
16May 5, 2021 22:5219,839194,058,293162,652,0002,008,0002,260,992
17May 5, 2021 22:5219,840189,748,714163,676,000998,0002,392,064
18May 5, 2021 22:5219,843193,907,249162,699,0001,996,0002,387,968
19May 5, 2021 22:5219,844190,953,013162,712,0001,996,0002,506,752
20May 5, 2021 22:5319,848191,024,789161,747,0002,995,0002,392,064
21May 5, 2021 22:5319,848191,030,252162,740,0001,996,0002,260,992
22May 5, 2021 22:5219,849197,623,010162,748,0001,996,0002,260,992
23May 5, 2021 22:5219,850192,151,284162,756,0001,997,0002,260,992
24May 5, 2021 22:5219,851193,171,799161,772,0002,995,0002,260,992
25May 5, 2021 22:5219,851192,818,710164,761,00002,387,968
26May 5, 2021 22:5219,851189,536,181163,763,000998,0002,396,160
27May 5, 2021 22:5219,851193,192,034161,770,0002,995,0002,260,992
28May 5, 2021 22:5219,851197,600,170162,763,0001,997,0002,260,992
29May 5, 2021 22:5219,851193,918,965162,770,0001,997,0002,260,992
30May 5, 2021 22:5319,851192,777,302160,773,0003,994,0002,260,992
31May 5, 2021 22:5219,852190,814,488161,775,0002,995,0002,260,992
32May 5, 2021 22:5219,852189,426,109162,774,0001,997,0002,387,968
33May 5, 2021 22:5219,853193,690,542162,782,0001,997,0002,260,992
34May 5, 2021 22:5319,853195,010,743162,779,0001,997,0002,400,256
35May 5, 2021 22:5219,853193,916,475163,780,000998,0002,265,088
36May 5, 2021 22:5319,853189,254,870161,781,0002,995,0002,260,992
37May 5, 2021 22:5319,853188,684,877162,786,0001,997,0002,392,064
38May 5, 2021 22:5219,857193,623,437162,819,0001,997,0002,260,992
39May 5, 2021 22:5219,857193,377,381163,814,000998,0002,392,064
40May 5, 2021 22:5319,858192,527,192162,821,0001,997,0002,392,064
41May 5, 2021 22:5319,860191,685,671162,840,0001,998,0002,260,992
42May 5, 2021 22:5319,861193,178,633162,852,0001,998,0002,260,992
43May 5, 2021 22:5319,863193,900,352162,862,0001,998,0002,392,064
44May 5, 2021 22:5319,863192,923,368161,866,0002,997,0002,392,064
45May 5, 2021 22:5319,867193,800,711161,896,0002,998,0002,256,896