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 15, 2022 05:00Robert BurkeRobert BurkeScore: 8,227Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2022 05:018,13587,657,94367,520,00002,277,376
2Jul 15, 2022 05:008,14592,334,02467,601,00002,277,376
3Jul 15, 2022 05:018,14593,068,35266,592,0001,008,0002,277,376
4Jul 15, 2022 05:018,14991,948,10667,634,00002,420,736
5Jul 15, 2022 05:008,16796,643,85166,794,000996,0002,277,376
6Jul 15, 2022 05:008,17093,183,86466,810,000997,0002,277,376
7Jul 15, 2022 05:018,20889,405,42566,123,0002,003,0002,433,024
8Jul 15, 2022 05:008,21189,659,23067,149,0001,002,0002,539,520
9Jul 15, 2022 05:018,21187,397,37966,146,0002,004,0002,510,848
10Jul 15, 2022 05:018,21192,362,63067,149,0001,002,0002,433,024
11Jul 15, 2022 05:018,21392,009,85266,162,0002,004,0002,510,848
12Jul 15, 2022 05:008,21387,104,21367,166,0001,002,0002,433,024
13Jul 15, 2022 05:008,21693,613,46667,193,0001,002,0002,424,832
14Jul 15, 2022 05:018,22088,263,56067,224,0001,003,0002,273,280
15Jul 15, 2022 05:008,22792,438,21766,280,0002,008,0002,437,120
16Jul 15, 2022 05:008,22786,952,60768,282,00002,428,928
17Jul 15, 2022 05:008,22889,529,63467,290,0001,004,0002,277,376
18Jul 15, 2022 05:018,22893,200,25266,286,0002,008,0002,428,928
19Jul 15, 2022 05:018,23092,596,58567,301,0001,004,0002,539,520
20Jul 15, 2022 05:008,23494,962,69568,340,00002,437,120
21Jul 15, 2022 05:018,23788,084,76568,370,00002,428,928
22Jul 15, 2022 05:008,23792,511,51168,371,00002,539,520
23Jul 15, 2022 05:008,23887,630,07868,379,00002,539,520
24Jul 15, 2022 05:018,25693,819,07668,525,00002,273,280
25Jul 15, 2022 05:008,691128,215,33672,134,28002,297,856
26Jul 15, 2022 05:018,691133,403,50672,137,70302,297,856
27Jul 15, 2022 05:008,695150,609,93272,169,18302,297,856
28Jul 15, 2022 05:008,710133,397,75072,290,36302,297,856
29Jul 15, 2022 05:018,712133,034,93172,306,15202,293,760
30Jul 15, 2022 05:018,718125,103,40572,359,07902,179,072