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 listJun 12, 2021 20:41evgenikwtevgenikwtScore: 28,236Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2021 20:4127,764288,634,819230,438,70802,248,704
2Jun 12, 2021 20:4527,775280,038,134230,535,09002,252,800
3Jun 12, 2021 20:4527,799287,170,634230,729,60302,252,800
4Jun 12, 2021 20:4127,809289,260,293230,815,46302,248,704
5Jun 12, 2021 20:4527,846301,916,639231,119,92102,252,800
6Jun 12, 2021 20:4528,167259,786,566232,791,000999,0002,375,680
7Jun 12, 2021 20:4128,180289,908,388233,894,46302,240,512
8Jun 12, 2021 20:4528,198262,474,875233,047,0001,000,0002,519,040
9Jun 12, 2021 20:4528,214262,159,063233,175,0001,000,0002,519,040
10Jun 12, 2021 20:4528,222253,238,504233,241,0001,001,0002,260,992
11Jun 12, 2021 20:4128,225255,454,864233,267,0001,001,0002,523,136
12Jun 12, 2021 20:4128,226257,042,058233,275,0001,001,0002,490,368
13Jun 12, 2021 20:4528,236258,109,896234,356,00002,260,992
14Jun 12, 2021 20:4128,246259,009,063234,443,00002,256,896
15Jun 12, 2021 20:4528,252257,154,608233,492,0001,002,0002,375,680
16Jun 12, 2021 20:4128,413268,511,446233,828,0001,998,0002,260,992
17Jun 12, 2021 20:4128,414266,499,813233,838,0001,998,0002,256,896
18Jun 12, 2021 20:4528,429258,910,839233,959,0001,999,0002,367,488
19Jun 12, 2021 20:4128,442267,579,871234,069,0002,000,0002,260,992
20Jun 12, 2021 20:4128,444260,990,963235,084,0001,000,0002,260,992
21Jun 12, 2021 20:4528,457258,322,043235,191,0001,000,0002,379,776
22Jun 12, 2021 20:4528,478267,936,892236,371,00002,379,776
23Jun 12, 2021 20:4128,479263,984,728235,374,0001,001,0002,375,680
24Jun 12, 2021 20:4128,490262,613,761236,469,00002,260,992