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 19, 2021 20:01Yuriy LyfenkoYuriy LyfenkoScore: 17,516Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 20:0117,4902,694,212,136145,167,00002,260,992
2May 19, 2021 20:0017,4942,601,359,873144,206,000994,0002,256,896
3May 19, 2021 20:0017,4952,930,081,870141,227,0003,978,0002,260,992
4May 19, 2021 20:0117,4951,449,966,606144,210,0001,001,0002,256,896
5May 19, 2021 20:0017,4961,702,395,097144,213,0001,001,0002,523,136
6May 19, 2021 20:0117,4992,567,292,648144,250,000994,0002,523,136
7May 19, 2021 20:0017,500547,573,793143,262,0001,989,0002,265,088
8May 19, 2021 20:0117,501376,173,774142,274,0002,984,0002,265,088
9May 19, 2021 20:0017,504268,299,754144,288,000995,0002,265,088
10May 19, 2021 20:0017,5082,388,881,651142,313,0003,006,0002,260,992
11May 19, 2021 20:0117,5092,061,308,796144,329,000995,0002,260,992
12May 19, 2021 20:0017,5142,828,728,395144,366,0001,002,0002,260,992
13May 19, 2021 20:0017,5162,177,264,019144,387,000995,0002,523,136
14May 19, 2021 20:0117,5181,996,231,663144,399,0001,002,0002,260,992
15May 19, 2021 20:0117,519327,080,685143,417,0001,991,0002,400,256
16May 19, 2021 20:0117,5203,018,608,237144,417,0001,002,0002,519,040
17May 19, 2021 20:0117,5222,117,764,080145,429,00002,523,136
18May 19, 2021 20:0017,8362,940,544,087146,048,0001,987,0002,519,040
19May 19, 2021 20:0017,979567,699,823149,221,82602,273,280
20May 19, 2021 20:0017,9801,792,007,804149,234,56502,273,280
21May 19, 2021 20:0117,9842,207,932,693149,266,94302,273,280
22May 19, 2021 20:0117,990415,895,025149,319,10702,273,280
23May 19, 2021 20:0117,9942,679,922,333149,347,93702,265,088
24May 19, 2021 20:0017,9991,755,396,067149,390,52302,269,184