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:39Yuriy LyfenkoYuriy LyfenkoScore: 17,505Success
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:2817,4882,029,482,620145,154,00002,523,136
2May 17, 2021 20:2817,4931,312,099,831143,194,0002,002,0002,256,896
3May 17, 2021 20:3917,4932,932,406,135143,188,0002,002,0002,265,088
4May 17, 2021 20:2817,4931,047,953,795145,195,00002,260,992
5May 17, 2021 20:3917,4941,016,810,142145,201,00002,265,088
6May 17, 2021 20:2817,4942,219,963,284143,201,0002,002,0002,523,136
7May 17, 2021 20:2817,4941,986,628,076143,199,0002,002,0002,260,992
8May 17, 2021 20:2817,4942,313,553,968145,200,00002,519,040
9May 17, 2021 20:2817,495949,317,207144,204,0001,001,0002,260,992
10May 17, 2021 20:3917,4972,012,730,180143,238,0001,989,0002,527,232
11May 17, 2021 20:3917,4971,294,972,219144,225,0001,001,0002,260,992
12May 17, 2021 20:2817,5022,738,757,651143,279,0001,989,0002,519,040
13May 17, 2021 20:2817,503536,419,997142,293,0002,985,0002,519,040
14May 17, 2021 20:2817,5052,206,859,217143,298,0001,990,0002,519,040
15May 17, 2021 20:2817,5052,915,922,944143,299,0001,990,0002,527,232
16May 17, 2021 20:2817,5071,669,249,585144,316,000995,0002,519,040
17May 17, 2021 20:3917,5071,090,517,411142,322,0002,985,0002,523,136
18May 17, 2021 20:3917,5083,037,113,067143,323,0001,990,0002,256,896
19May 17, 2021 20:2817,5081,661,676,607144,318,000995,0002,260,992
20May 17, 2021 20:3917,5102,982,259,034145,331,00002,523,136
21May 17, 2021 20:2817,5142,730,974,268143,378,0001,991,0002,260,992
22May 17, 2021 20:2817,516806,997,267144,383,0001,002,0002,260,992
23May 17, 2021 20:3917,5162,467,498,735143,395,0001,991,0002,265,088
24May 17, 2021 20:2817,5162,884,088,689144,389,000995,0002,519,040
25May 17, 2021 20:2817,517926,095,303144,385,0001,002,0002,256,896
26May 17, 2021 20:2817,5192,689,556,465144,409,000995,0002,260,992
27May 17, 2021 20:3917,5232,723,640,504143,449,0001,992,0002,265,088