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:44Yuriy LyfenkoYuriy LyfenkoScore: 17,506Success
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:4417,486178,000,095144,132,0001,000,0002,392,064
2May 17, 2021 20:4417,486382,026,829144,132,0001,000,0002,265,088
3May 17, 2021 20:5017,4892,349,252,727142,159,0003,003,0002,523,136
4May 17, 2021 20:4217,491540,088,984143,173,0002,002,0002,260,992
5May 17, 2021 20:4217,493912,759,347143,189,0002,002,0002,519,040
6May 17, 2021 20:4417,493185,291,454145,193,00002,527,232
7May 17, 2021 20:5017,4941,971,792,025143,214,0001,989,0002,265,088
8May 17, 2021 20:4417,4941,656,235,847145,202,00002,396,160
9May 17, 2021 20:4417,495253,554,375145,210,00002,265,088
10May 17, 2021 20:4217,4951,706,729,860144,205,0001,001,0002,519,040
11May 17, 2021 20:4417,4962,648,262,612144,212,0001,001,0002,260,992
12May 17, 2021 20:4417,4962,060,851,933143,228,0001,989,0002,523,136
13May 17, 2021 20:4217,4971,274,856,486143,234,0001,989,0002,519,040
14May 17, 2021 20:5017,4971,883,735,584144,222,0001,001,0002,260,992
15May 17, 2021 20:5017,4991,357,798,725144,249,000994,0002,392,064
16May 17, 2021 20:4417,4992,991,731,231143,251,0001,989,0002,260,992
17May 17, 2021 20:5017,5032,356,183,555144,281,000995,0002,260,992
18May 17, 2021 20:4417,505792,595,978143,287,0002,004,0002,527,232
19May 17, 2021 20:4217,506308,936,543144,307,000995,0002,387,968
20May 17, 2021 20:4417,5061,450,610,102143,306,0001,990,0002,260,992
21May 17, 2021 20:5017,5072,161,209,841142,325,0002,985,0002,260,992
22May 17, 2021 20:4417,507782,244,983145,307,00002,519,040
23May 17, 2021 20:5017,5111,437,279,002144,341,0001,002,0002,260,992
24May 17, 2021 20:4217,5111,499,606,892144,343,0001,002,0002,527,232
25May 17, 2021 20:4417,5131,596,931,065143,371,0001,991,0002,519,040
26May 17, 2021 20:4217,5142,636,414,170143,374,0001,991,0002,519,040
27May 17, 2021 20:4417,5141,173,834,409144,366,0001,002,0002,265,088
28May 17, 2021 20:4217,5151,986,806,368143,385,0001,991,0002,519,040
29May 17, 2021 20:4417,5161,875,096,986142,396,0002,987,0002,260,992
30May 17, 2021 20:4417,5171,246,561,146141,411,0003,983,0002,256,896
31May 17, 2021 20:4417,517369,843,399145,389,00002,387,968
32May 17, 2021 20:5017,5182,418,980,740143,394,0002,005,0002,527,232
33May 17, 2021 20:5017,518376,446,845143,395,0002,005,0002,387,968
34May 17, 2021 20:4417,520690,021,438143,428,0001,992,0002,519,040
35May 17, 2021 20:4417,5212,364,058,604143,433,0001,992,0002,256,896
36May 17, 2021 20:4217,5232,294,779,569143,447,0001,992,0002,265,088