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:23Andrey TsvetkovAndrey TsvetkovScore: 45,190Success
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:2745,161438,522,745374,837,32602,248,704
2Sep 5, 2021 10:1845,165443,494,039374,871,83802,252,800
3Sep 5, 2021 10:2245,177447,238,054374,971,37102,260,992
4Sep 5, 2021 10:2145,178447,371,075374,975,48702,248,704
5Sep 5, 2021 10:1845,181438,328,580375,002,99102,244,608
6Sep 5, 2021 10:2145,182453,381,181375,014,59002,260,992
7Sep 5, 2021 10:2245,182455,115,338375,011,52202,252,800
8Sep 5, 2021 10:2445,184439,531,777375,025,39302,260,992
9Sep 5, 2021 10:2745,190448,807,948375,075,68602,256,896
10Sep 5, 2021 10:2445,190445,476,821375,079,16202,252,800
11Sep 5, 2021 10:2745,192466,473,597375,091,06002,256,896
12Sep 5, 2021 10:2445,193443,348,104375,101,96402,256,896
13Sep 5, 2021 10:2145,193444,453,985375,099,14002,256,896
14Sep 5, 2021 10:2345,197453,613,694375,134,11602,252,800
15Sep 5, 2021 10:2345,199437,556,541375,151,59602,260,992
16Sep 5, 2021 10:2345,204439,420,333375,191,16502,248,704
17Sep 5, 2021 10:2245,204448,402,165375,192,24102,260,992
18Sep 5, 2021 10:1845,213446,132,975375,267,18402,252,800