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:17Sergey StreminSergey StreminScore: 22,466Success
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:1222,397254,311,899185,899,16602,215,936
2Sep 5, 2021 10:1222,397249,178,301185,892,00002,228,224
3Sep 5, 2021 10:1722,404245,010,156185,951,03402,220,032
4Sep 5, 2021 10:1222,410251,076,515186,005,00102,240,512
5Sep 5, 2021 10:1722,411241,183,814186,010,23502,224,128
6Sep 5, 2021 10:1722,413244,859,904186,023,75302,215,936
7Sep 5, 2021 10:1222,419207,095,646184,074,0002,000,0002,375,680
8Sep 5, 2021 10:1722,427212,177,625184,147,0002,001,0002,281,472
9Sep 5, 2021 10:1722,429210,321,657185,164,0001,000,0002,375,680
10Sep 5, 2021 10:1222,436208,542,740186,222,00002,281,472
11Sep 5, 2021 10:1722,437211,389,034184,224,0002,002,0002,281,472
12Sep 5, 2021 10:1222,445210,155,980184,292,0002,003,0002,371,584
13Sep 5, 2021 10:1222,466210,768,277185,466,0001,002,0002,289,664
14Sep 5, 2021 10:1222,468213,428,843185,480,0001,002,0002,281,472
15Sep 5, 2021 10:1722,470216,321,077186,501,00002,367,488
16Sep 5, 2021 10:1222,474212,747,950185,534,0001,002,0002,281,472
17Sep 5, 2021 10:1722,474215,290,123185,533,0001,002,0002,367,488
18Sep 5, 2021 10:1222,475212,620,197185,542,0001,002,0002,281,472
19Sep 5, 2021 10:1722,478215,958,866185,567,0001,003,0002,371,584
20Sep 5, 2021 10:1222,489216,753,881185,659,0001,003,0002,281,472
21Sep 5, 2021 10:1722,502209,402,528184,770,0001,997,0002,367,488
22Sep 5, 2021 10:1722,504211,879,949186,781,00002,281,472
23Sep 5, 2021 10:1722,953217,020,855189,511,0001,002,0002,281,472
24Sep 5, 2021 10:1222,964215,650,342189,596,0001,003,0002,371,584