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 listSep 12, 2022 04:05Yuriy LyfenkoYuriy LyfenkoScore: 7,229Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 12, 2022 04:267,08687,673,12755,823,0002,990,0002,338,816
2Sep 12, 2022 04:267,12584,885,84856,132,0003,007,0002,478,080
3Sep 12, 2022 04:267,13882,252,81758,238,0001,004,0002,465,792
4Sep 12, 2022 04:267,15282,213,87357,346,0002,012,0002,289,664
5Sep 12, 2022 04:267,15785,424,01757,386,0002,013,0002,510,848
6Sep 12, 2022 04:267,17484,407,75657,527,0002,018,0002,338,816
7Sep 12, 2022 04:267,18292,388,54956,582,0003,031,0002,367,488
8Sep 12, 2022 04:267,192126,413,21459,694,82302,285,568
9Sep 12, 2022 04:267,19886,319,71756,758,0002,987,0002,351,104
10Sep 12, 2022 04:267,22982,550,44456,998,0002,999,0002,301,952
11Sep 12, 2022 04:267,230130,139,73260,008,22502,187,264
12Sep 12, 2022 04:057,230120,135,48760,007,41802,289,664
13Sep 12, 2022 04:057,270132,760,34460,343,33202,224,128
14Sep 12, 2022 04:267,271122,255,31760,345,50702,285,568
15Sep 12, 2022 04:267,274121,641,23760,375,21102,183,168
16Sep 12, 2022 04:057,284120,285,48860,458,59802,240,512
17Sep 12, 2022 04:267,304122,762,78060,627,07402,281,472
18Sep 12, 2022 04:267,332116,737,01760,852,35702,244,608