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:18Yuriy 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:1817,4952,644,723,549144,213,000994,0002,523,136
2May 17, 2021 20:1817,4961,906,768,613144,219,0001,001,0002,400,256
3May 17, 2021 20:1817,496944,986,649144,213,0001,001,0002,260,992
4May 17, 2021 20:1817,4972,470,792,417143,239,0001,989,0002,260,992
5May 17, 2021 20:1817,4971,961,218,436144,231,000994,0002,387,968
6May 17, 2021 20:1817,4971,265,265,689143,232,0001,989,0002,260,992
7May 17, 2021 20:1817,498971,699,460143,232,0002,003,0002,260,992
8May 17, 2021 20:1817,4993,148,033,264144,243,0001,001,0002,260,992
9May 17, 2021 20:1817,5022,479,932,194144,266,0001,001,0002,265,088
10May 17, 2021 20:1817,5042,175,309,546144,286,0001,001,0002,519,040
11May 17, 2021 20:1817,5052,310,569,783143,303,0001,990,0002,260,992
12May 17, 2021 20:1817,5051,967,974,985145,294,00002,260,992
13May 17, 2021 20:1817,508279,651,677144,313,0001,002,0002,260,992
14May 17, 2021 20:1817,5091,527,146,210144,329,000995,0002,260,992
15May 17, 2021 20:1817,512484,135,010144,348,0001,002,0002,265,088
16May 17, 2021 20:1817,5142,565,966,435145,367,00002,519,040
17May 17, 2021 20:1817,5152,902,475,817145,373,00002,523,136
18May 17, 2021 20:1817,5172,851,868,345143,399,0001,991,0002,387,968
19May 17, 2021 20:1817,5181,648,213,000143,408,0001,991,0002,265,088
20May 17, 2021 20:1817,5182,082,685,525143,410,0001,991,0002,260,992
21May 17, 2021 20:1817,519834,525,389144,410,000995,0002,260,992
22May 17, 2021 20:1817,5201,329,201,691144,415,0001,002,0002,523,136
23May 17, 2021 20:1817,5212,731,025,559145,422,00002,396,160
24May 17, 2021 20:1817,522705,840,315144,435,000996,0002,387,968
25May 17, 2021 20:1817,5241,110,850,275143,460,0001,992,0002,256,896
26May 17, 2021 20:1817,5241,776,844,531144,455,000996,0002,523,136
27May 17, 2021 20:1817,5261,359,522,683142,476,0002,989,0002,523,136