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 listNov 6, 2023 05:03sliceteamsliceteamScore: 7,674Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2023 05:037,60585,098,36561,121,0002,003,0002,400,256
2Nov 6, 2023 05:047,60785,699,97061,131,0002,004,0002,404,352
3Nov 6, 2023 05:037,60887,713,97361,141,0002,004,0002,273,280
4Nov 6, 2023 05:047,61187,450,95161,168,0002,005,0002,273,280
5Nov 6, 2023 05:047,61487,141,83661,192,0002,006,0002,273,280
6Nov 6, 2023 05:047,62588,270,56062,282,0001,004,0002,396,160
7Nov 6, 2023 05:047,62593,135,99163,291,00002,273,280
8Nov 6, 2023 05:047,62984,442,30163,324,00002,273,280
9Nov 6, 2023 05:037,63588,723,76763,370,00002,273,280
10Nov 6, 2023 05:037,64484,711,80463,447,00002,273,280
11Nov 6, 2023 05:037,64687,674,00663,464,00002,400,256
12Nov 6, 2023 05:037,64888,057,95563,481,00002,392,064
13Nov 6, 2023 05:047,64982,491,37763,485,00002,400,256
14Nov 6, 2023 05:037,65388,065,96663,524,00002,400,256
15Nov 6, 2023 05:047,66991,892,92463,649,00002,396,160
16Nov 6, 2023 05:037,67488,048,23662,681,0001,010,0002,400,256
17Nov 6, 2023 05:047,68888,015,11062,814,000997,0002,273,280
18Nov 6, 2023 05:037,69188,556,34462,836,000997,0002,273,280
19Nov 6, 2023 05:047,69685,767,02161,884,0001,996,0002,400,256
20Nov 6, 2023 05:037,69791,786,47961,885,0001,996,0002,273,280
21Nov 6, 2023 05:047,71687,139,54762,038,0002,001,0002,400,256
22Nov 6, 2023 05:037,74786,326,82363,294,0001,004,0002,273,280
23Nov 6, 2023 05:037,76691,078,74164,456,00002,273,280
24Nov 6, 2023 05:047,84390,499,42163,091,0002,002,0002,392,064
25Nov 6, 2023 05:048,093135,486,43967,169,86002,285,568
26Nov 6, 2023 05:048,107128,780,30967,284,70802,281,472
27Nov 6, 2023 05:048,131137,511,74767,485,80202,277,376
28Nov 6, 2023 05:038,171141,702,63767,818,11602,252,800
29Nov 6, 2023 05:038,179131,489,85767,884,93602,285,568
30Nov 6, 2023 05:038,434131,513,13070,001,95102,273,280