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 31, 2022 03:35Robert BurkeRobert BurkeScore: 8,220Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2022 03:368,06590,078,45065,941,000999,0002,277,376
2Jul 31, 2022 03:368,06588,346,15764,941,0001,998,0002,277,376
3Jul 31, 2022 03:358,07189,259,89366,986,00002,428,928
4Jul 31, 2022 03:368,07187,695,46365,991,000999,0002,277,376
5Jul 31, 2022 03:358,07392,497,44266,008,0001,000,0002,424,832
6Jul 31, 2022 03:358,08886,974,12766,128,0001,001,0002,424,832
7Jul 31, 2022 03:358,20791,049,04666,112,0002,003,0002,535,424
8Jul 31, 2022 03:368,20792,405,83166,118,0002,003,0002,277,376
9Jul 31, 2022 03:368,20887,306,44166,127,0002,003,0002,277,376
10Jul 31, 2022 03:358,20889,680,82667,127,0001,001,0002,424,832
11Jul 31, 2022 03:358,21089,086,24766,141,0002,004,0002,277,376
12Jul 31, 2022 03:358,21293,307,26466,156,0002,004,0002,277,376
13Jul 31, 2022 03:368,21590,851,96666,182,0002,005,0002,539,520
14Jul 31, 2022 03:358,21592,442,98067,182,0001,002,0002,428,928
15Jul 31, 2022 03:358,21587,972,39767,186,0001,002,0002,424,832
16Jul 31, 2022 03:368,22086,955,90467,220,0001,003,0002,437,120
17Jul 31, 2022 03:368,22190,788,99267,233,0001,003,0002,277,376
18Jul 31, 2022 03:368,22590,744,27368,268,00002,277,376
19Jul 31, 2022 03:358,22691,964,95767,269,0001,004,0002,277,376
20Jul 31, 2022 03:368,22797,537,21368,287,00002,277,376
21Jul 31, 2022 03:358,23091,179,27968,310,00002,277,376
22Jul 31, 2022 03:358,23293,915,49067,323,0001,004,0002,273,280
23Jul 31, 2022 03:368,23394,417,70768,336,00002,437,120
24Jul 31, 2022 03:368,29199,833,28468,812,00002,539,520
25Jul 31, 2022 03:358,600133,224,52771,383,72802,297,856
26Jul 31, 2022 03:358,610133,351,44671,459,55802,297,856
27Jul 31, 2022 03:368,617142,395,20571,517,68402,179,072
28Jul 31, 2022 03:358,625128,956,09871,584,02502,174,976
29Jul 31, 2022 03:368,627140,161,38571,601,21802,170,880
30Jul 31, 2022 03:368,629133,727,68971,623,84602,301,952