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 19:56Yuriy LyfenkoYuriy LyfenkoScore: 17,507Success
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 19:5617,4881,233,193,983145,151,00002,265,088
2May 19, 2021 19:5617,4892,987,539,793144,159,0001,001,0002,527,232
3May 19, 2021 19:5617,4922,944,548,835144,183,0001,001,0002,523,136
4May 19, 2021 19:5617,492289,405,420142,180,0003,003,0002,265,088
5May 19, 2021 19:5617,4932,814,311,226144,192,0001,001,0002,260,992
6May 19, 2021 19:5617,4942,328,700,205144,206,000994,0002,265,088
7May 19, 2021 19:5617,499343,725,197143,242,0002,003,0002,265,088
8May 19, 2021 19:5617,4991,350,174,498144,239,0001,001,0002,392,064
9May 19, 2021 19:5617,500629,844,642143,259,0001,989,0002,523,136
10May 19, 2021 19:5617,5011,078,292,669144,258,0001,001,0002,260,992
11May 19, 2021 19:5617,5023,164,285,219144,260,0001,008,0002,519,040
12May 19, 2021 19:5617,5043,062,890,065143,292,0001,990,0002,523,136
13May 19, 2021 19:5617,5071,027,460,733144,310,000995,0002,260,992
14May 19, 2021 19:5617,5161,434,065,209144,391,000995,0002,392,064
15May 19, 2021 19:5617,5161,804,083,024144,386,000995,0002,256,896
16May 19, 2021 19:5617,520802,257,702144,413,0001,002,0002,519,040
17May 19, 2021 19:5617,521618,725,793143,429,0001,992,0002,256,896
18May 19, 2021 19:5617,5281,555,901,203142,495,0002,989,0002,519,040
19May 19, 2021 19:5617,9852,165,437,016149,276,81902,277,376
20May 19, 2021 19:5617,988336,827,859149,297,29202,277,376
21May 19, 2021 19:5617,9882,513,249,902149,303,94602,265,088
22May 19, 2021 19:5617,9931,012,421,441149,342,95902,330,624
23May 19, 2021 19:5617,9941,524,679,413149,346,93802,269,184
24May 19, 2021 19:5617,9972,826,123,359149,376,77002,273,280