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 17, 2021 20:41Yuriy LyfenkoYuriy LyfenkoScore: 17,509Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 20:1917,4881,246,020,933143,165,0001,988,0002,269,184
2May 17, 2021 20:4117,4952,349,098,472144,211,0001,001,0002,519,040
3May 17, 2021 20:4117,497205,130,060144,234,000994,0002,265,088
4May 17, 2021 20:4117,502566,545,450145,268,00002,392,064
5May 17, 2021 20:1917,502875,086,473143,267,0002,003,0002,256,896
6May 17, 2021 20:1917,5031,709,915,660144,280,000995,0002,400,256
7May 17, 2021 20:1917,5042,393,678,984143,284,0002,003,0002,256,896
8May 17, 2021 20:4117,5073,124,957,125143,315,0001,990,0002,387,968
9May 17, 2021 20:1917,5082,706,702,891144,321,000995,0002,260,992
10May 17, 2021 20:1917,5092,232,792,654143,331,0001,990,0002,519,040
11May 17, 2021 20:4117,511596,233,395143,352,0001,991,0002,519,040
12May 17, 2021 20:4117,5132,781,040,308143,367,0001,991,0002,256,896
13May 17, 2021 20:1917,5162,317,092,749144,383,0001,002,0002,392,064
14May 17, 2021 20:4117,5181,946,247,781144,408,000995,0002,260,992
15May 17, 2021 20:1917,5202,763,431,150143,426,0001,992,0002,519,040
16May 17, 2021 20:1917,525432,946,442143,463,0001,992,0002,265,088
17May 17, 2021 20:4117,5332,386,710,438143,530,0001,993,0002,260,992
18May 17, 2021 20:4117,5371,362,158,454143,561,0001,993,0002,527,232