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 listSep 5, 2021 11:29Andrey TsvetkovAndrey TsvetkovScore: 43,415Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 11:3843,398417,412,775360,203,22402,232,320
2Sep 5, 2021 11:3843,403425,116,610360,247,52902,248,704
3Sep 5, 2021 11:5443,404428,633,350360,249,81802,240,512
4Sep 5, 2021 11:5343,404430,184,626360,251,74102,232,320
5Sep 5, 2021 11:5343,407421,057,858360,277,80802,240,512
6Sep 5, 2021 11:3843,409426,300,216360,294,00802,240,512
7Sep 5, 2021 11:2943,410419,201,942360,304,21202,240,512
8Sep 5, 2021 11:5443,412420,588,437360,322,07102,240,512
9Sep 5, 2021 11:2943,413420,119,518360,328,49702,232,320
10Sep 5, 2021 11:5343,414435,403,726360,339,10102,240,512
11Sep 5, 2021 11:2943,415432,453,299360,343,00302,240,512
12Sep 5, 2021 11:3243,416441,281,765360,353,50402,244,608
13Sep 5, 2021 11:2943,417430,853,603360,362,71502,236,416
14Sep 5, 2021 11:3243,417432,997,530360,364,64202,248,704
15Sep 5, 2021 11:3143,418419,719,870360,371,33602,224,128
16Sep 5, 2021 11:5443,421424,639,697360,391,28602,236,416
17Sep 5, 2021 11:3143,423436,790,363360,413,19402,220,032
18Sep 5, 2021 11:3243,425426,568,122360,426,70902,248,704
19Sep 5, 2021 11:3143,426418,799,806360,436,24102,248,704
20Sep 5, 2021 11:2943,428427,416,753360,448,51102,228,224
21Sep 5, 2021 11:2943,456438,900,498360,686,75702,236,416