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 9, 2021 13:56Andrey TsvetkovAndrey TsvetkovScore: 32,943Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2021 12:2432,922331,257,672273,256,47402,293,760
2Sep 9, 2021 13:5632,931333,050,479273,331,32502,293,760
3Sep 9, 2021 12:2632,933331,982,435273,347,54602,297,856
4Sep 9, 2021 13:5532,933350,956,697273,346,70502,293,760
5Sep 9, 2021 12:2332,935333,822,244273,357,66102,297,856
6Sep 9, 2021 13:5532,935335,432,874273,364,22202,301,952
7Sep 9, 2021 12:2632,937329,675,816273,379,11702,297,856
8Sep 9, 2021 12:3232,937338,045,189273,377,58602,260,992
9Sep 9, 2021 12:3232,937333,337,058273,373,43902,293,760
10Sep 9, 2021 13:5532,940329,653,024273,403,03702,301,952
11Sep 9, 2021 13:5532,943324,181,923273,425,99802,174,976
12Sep 9, 2021 12:2432,944343,374,684273,431,19902,289,664
13Sep 9, 2021 12:2332,946342,364,619273,454,19502,289,664
14Sep 9, 2021 13:5632,950347,108,395273,481,18102,293,760
15Sep 9, 2021 12:2432,953333,306,054273,511,25802,297,856
16Sep 9, 2021 12:3232,956330,036,953273,537,29902,293,760
17Sep 9, 2021 12:2632,962330,499,063273,581,94302,293,760
18Sep 9, 2021 12:2332,962353,795,803273,588,02002,301,952
19Sep 9, 2021 13:5532,964330,159,724273,600,67502,301,952
20Sep 9, 2021 13:5632,964346,997,745273,598,14402,301,952
21Sep 9, 2021 13:5532,976351,638,694273,703,89502,289,664