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 listDec 15, 2023 14:05matsuoka-601matsuoka-601Score: 6,947Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 15, 2023 14:056,80583,835,70955,474,0001,008,0002,416,640
2Dec 15, 2023 14:056,80577,341,86955,474,0001,008,0002,523,136
3Dec 15, 2023 14:056,82182,800,87955,604,0001,010,0002,416,640
4Dec 15, 2023 14:056,82783,903,15954,672,0001,988,0002,523,136
5Dec 15, 2023 14:056,84282,390,90754,799,0001,992,0002,523,136
6Dec 15, 2023 14:056,84583,060,41855,815,000996,0002,404,352
7Dec 15, 2023 14:056,84881,608,18654,845,0001,994,0002,400,256
8Dec 15, 2023 14:056,899119,458,38857,260,21802,281,472
9Dec 15, 2023 14:056,915116,237,98957,397,12602,285,568
10Dec 15, 2023 14:056,92483,385,23457,472,00002,396,160
11Dec 15, 2023 14:056,92480,874,93456,465,0001,008,0002,523,136
12Dec 15, 2023 14:056,93182,897,09855,506,0002,018,0002,404,352
13Dec 15, 2023 14:056,94783,820,55957,663,00002,404,352
14Dec 15, 2023 14:056,96382,778,75455,801,0001,992,0002,523,136
15Dec 15, 2023 14:056,96381,093,80755,804,0001,993,0002,523,136
16Dec 15, 2023 14:056,97084,925,99356,853,000997,0002,523,136
17Dec 15, 2023 14:056,97482,207,47155,887,0001,995,0002,404,352
18Dec 15, 2023 14:057,03784,558,45356,395,0002,014,0002,404,352
19Dec 15, 2023 14:057,126127,130,36259,147,94102,285,568
20Dec 15, 2023 14:057,12783,386,79857,151,0002,005,0002,523,136
21Dec 15, 2023 14:057,143134,152,87159,290,85902,285,568
22Dec 15, 2023 14:057,218124,683,21259,909,38102,277,376
23Dec 15, 2023 14:057,24382,593,63558,117,0002,004,0002,523,136
24Dec 15, 2023 14:057,288122,958,85660,491,76602,285,568