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 8, 2023 10:53Robert BurkeRobert BurkeScore: 7,536Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 8, 2023 10:587,48883,695,60661,147,0001,002,0002,510,848
2Nov 8, 2023 10:587,48985,980,11961,159,0001,002,0002,539,520
3Nov 8, 2023 10:587,49790,381,75061,226,0001,003,0002,428,928
4Nov 8, 2023 10:537,50287,171,44661,264,0001,004,0002,428,928
5Nov 8, 2023 10:587,50779,484,25661,301,0001,004,0002,420,736
6Nov 8, 2023 10:537,51183,468,20262,340,00002,433,024
7Nov 8, 2023 10:587,51284,485,49161,341,0001,005,0002,424,832
8Nov 8, 2023 10:537,51587,348,38762,377,00002,428,928
9Nov 8, 2023 10:537,51684,774,94262,382,00002,277,376
10Nov 8, 2023 10:587,51796,328,64962,394,00002,277,376
11Nov 8, 2023 10:537,52281,570,62062,430,00002,277,376
12Nov 8, 2023 10:587,52786,451,94462,476,00002,428,928
13Nov 8, 2023 10:587,53289,122,13561,508,0001,008,0002,277,376
14Nov 8, 2023 10:537,53585,281,88862,543,00002,277,376
15Nov 8, 2023 10:537,53585,394,56662,541,00002,277,376
16Nov 8, 2023 10:537,53687,571,16861,538,0001,008,0002,277,376
17Nov 8, 2023 10:537,53988,552,21862,574,00002,277,376
18Nov 8, 2023 10:537,54088,934,93661,573,0001,009,0002,433,024
19Nov 8, 2023 10:587,54096,240,04961,577,0001,009,0002,428,928
20Nov 8, 2023 10:537,54384,936,20262,611,00002,277,376
21Nov 8, 2023 10:587,54484,824,56162,612,00002,539,520
22Nov 8, 2023 10:587,55485,115,01762,695,00002,277,376
23Nov 8, 2023 10:587,57086,555,85061,834,000997,0002,514,944
24Nov 8, 2023 10:537,58184,933,12760,924,0001,997,0002,510,848
25Nov 8, 2023 10:537,603142,494,78563,100,97202,293,760
26Nov 8, 2023 10:587,612122,427,84963,178,39902,179,072
27Nov 8, 2023 10:587,614122,000,22163,198,34302,297,856
28Nov 8, 2023 10:537,623119,908,62263,269,25402,170,880
29Nov 8, 2023 10:537,629128,736,56463,321,09402,301,952
30Nov 8, 2023 10:587,691119,909,86563,835,93802,301,952