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 listJul 20, 2022 13:34Robert BurkeRobert BurkeScore: 8,597Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2022 13:348,53992,650,07669,873,000998,0002,277,376
2Jul 19, 2022 08:478,54087,351,39969,888,000998,0002,277,376
3Jul 19, 2022 08:478,54398,016,13468,909,0001,997,0002,428,928
4Jul 20, 2022 13:348,55193,007,96369,973,000999,0002,420,736
5Jul 19, 2022 08:478,56391,512,42470,075,0001,001,0002,420,736
6Jul 19, 2022 08:478,56791,982,70970,105,0001,001,0002,420,736
7Jul 20, 2022 13:348,57192,981,30370,135,0001,001,0002,277,376
8Jul 20, 2022 13:348,57495,195,41370,160,0001,002,0002,539,520
9Jul 19, 2022 08:478,57595,982,01869,168,0002,004,0002,428,928
10Jul 20, 2022 13:348,57595,892,39570,170,0001,002,0002,428,928
11Jul 20, 2022 13:348,58190,936,40470,218,0001,003,0002,428,928
12Jul 20, 2022 13:348,58493,175,51670,242,0001,003,0002,277,376
13Jul 20, 2022 13:348,58991,048,71171,286,00002,539,520
14Jul 19, 2022 08:478,59194,565,60269,297,0002,008,0002,437,120
15Jul 19, 2022 08:478,59396,681,96471,319,00002,277,376
16Jul 19, 2022 08:478,59798,360,17871,353,00002,424,832
17Jul 20, 2022 13:348,60698,540,60770,421,0001,006,0002,433,024
18Jul 20, 2022 13:348,60795,962,65670,428,0001,006,0002,424,832
19Jul 19, 2022 08:478,616102,759,77070,509,0001,007,0002,424,832
20Jul 19, 2022 08:478,622104,142,16671,559,00002,539,520
21Jul 20, 2022 13:348,62389,384,25771,572,00002,277,376
22Jul 19, 2022 08:478,62395,105,07470,576,000994,0002,539,520
23Jul 20, 2022 13:348,637102,702,42970,679,0001,009,0002,510,848
24Jul 19, 2022 08:478,65793,337,20470,859,000998,0002,539,520
25Jul 20, 2022 13:349,061137,029,43575,209,84702,174,976
26Jul 20, 2022 13:349,065141,920,53575,238,21902,179,072
27Jul 20, 2022 13:349,070138,230,29175,279,08702,174,976
28Jul 19, 2022 08:479,078137,149,18775,345,09302,301,952
29Jul 19, 2022 08:479,083137,579,64075,385,77202,252,800
30Jul 19, 2022 08:479,086137,563,41775,417,23902,170,880