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, 2023 18:21gchebanovgchebanovScore: 9,835Success
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, 2023 18:219,509137,586,67978,926,67302,289,664
2Jul 20, 2023 18:219,548146,996,69179,245,45102,277,376
3Jul 20, 2023 19:319,553150,481,99179,293,44902,289,664
4Jul 20, 2023 19:319,555138,638,43579,307,03302,285,568
5Jul 20, 2023 19:319,559148,155,07279,336,93702,277,376
6Jul 20, 2023 18:219,569161,961,98179,424,33002,285,568
7Jul 20, 2023 18:219,813107,936,07781,452,00002,461,696
8Jul 20, 2023 19:319,816108,038,94980,468,0001,005,0002,465,792
9Jul 20, 2023 19:319,819105,594,07779,482,0002,012,0002,277,376
10Jul 20, 2023 19:319,821107,952,15280,509,0001,006,0002,514,944
11Jul 20, 2023 19:319,822106,024,87280,513,0001,006,0002,482,176
12Jul 20, 2023 19:319,823104,419,01980,521,0001,006,0002,269,184
13Jul 20, 2023 19:319,824107,643,11581,538,00002,441,216
14Jul 20, 2023 18:219,827104,370,05280,556,0001,006,0002,445,312
15Jul 20, 2023 19:319,833114,030,73181,616,00002,469,888
16Jul 20, 2023 18:219,835112,973,65881,629,00002,486,272
17Jul 20, 2023 19:319,837108,657,63280,643,0001,008,0002,281,472
18Jul 20, 2023 18:219,840106,575,55080,666,0001,008,0002,277,376
19Jul 20, 2023 18:219,840115,434,32080,663,0001,008,0002,465,792
20Jul 20, 2023 19:319,848105,443,10979,748,0001,993,0002,289,664
21Jul 20, 2023 18:219,853107,831,31580,779,000997,0002,273,280
22Jul 20, 2023 18:219,858107,750,71579,830,0001,995,0002,469,888
23Jul 20, 2023 18:219,859110,459,77579,831,0001,995,0002,523,136
24Jul 20, 2023 19:3110,057114,144,12982,469,0001,005,0002,293,760
25Jul 20, 2023 18:2110,061112,043,99183,510,00002,510,848
26Jul 20, 2023 19:3110,062105,689,21982,508,0001,006,0002,289,664
27Jul 20, 2023 18:2110,067114,066,37783,553,00002,465,792
28Jul 20, 2023 18:2110,132112,250,39781,096,0003,003,0002,486,272
29Jul 20, 2023 18:2110,138106,387,31182,139,0002,003,0002,441,216
30Jul 20, 2023 19:3110,140105,421,26382,160,0002,003,0002,281,472