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 listOct 2, 2023 08:31Robert BurkeRobert BurkeScore: 7,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 2, 2023 08:317,65586,036,32563,540,00002,277,376
2Oct 2, 2023 08:317,65794,214,21362,541,0001,008,0002,428,928
3Oct 2, 2023 08:317,65887,252,12062,550,0001,008,0002,510,848
4Oct 2, 2023 08:317,65894,637,51063,561,00002,433,024
5Oct 2, 2023 08:317,65889,731,82763,563,00002,539,520
6Oct 2, 2023 08:317,65890,327,69362,555,0001,008,0002,277,376
7Oct 2, 2023 08:317,66088,619,20663,576,00002,420,736
8Oct 2, 2023 08:317,66193,120,29663,584,00002,277,376
9Oct 2, 2023 08:317,66288,934,11563,591,00002,519,040
10Oct 2, 2023 08:317,66392,171,09062,596,0001,009,0002,437,120
11Oct 2, 2023 08:317,66393,222,39563,601,00002,273,280
12Oct 2, 2023 08:317,66494,196,68863,614,00002,539,520
13Oct 2, 2023 08:317,66587,976,21962,608,0001,009,0002,437,120
14Oct 2, 2023 08:317,66791,745,83262,624,0001,010,0002,539,520
15Oct 2, 2023 08:317,66893,036,04263,641,00002,437,120
16Oct 2, 2023 08:317,66888,806,97962,637,0001,010,0002,510,848
17Oct 2, 2023 08:317,66989,829,68563,653,00002,539,520
18Oct 2, 2023 08:317,67589,150,15861,711,0001,990,0002,277,376
19Oct 2, 2023 08:317,67688,652,29063,711,00002,433,024
20Oct 2, 2023 08:317,68796,335,44162,806,000996,0002,539,520
21Oct 2, 2023 08:317,69291,142,07062,845,000997,0002,277,376
22Oct 2, 2023 08:317,69287,161,56662,847,000997,0002,433,024
23Oct 2, 2023 08:317,69785,250,45861,887,0001,996,0002,510,848
24Oct 2, 2023 08:317,71485,646,76563,024,0001,000,0002,424,832
25Oct 2, 2023 08:318,129123,726,78067,470,67202,297,856
26Oct 2, 2023 08:318,132123,522,17967,497,60602,174,976
27Oct 2, 2023 08:318,135124,417,97667,518,51102,174,976
28Oct 2, 2023 08:318,136136,768,38767,525,54802,174,976
29Oct 2, 2023 08:318,138129,120,53067,549,41502,293,760
30Oct 2, 2023 08:318,140144,264,85167,562,02502,174,976