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 3, 2021 04:50evgenikwtevgenikwtScore: 34,310Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 04:2134,294348,732,071284,642,79602,269,184
2Jun 3, 2021 05:1834,294345,216,715284,637,99102,265,088
3Jun 3, 2021 04:5134,296349,496,704284,658,45402,260,992
4Jun 3, 2021 04:2134,299338,198,659284,680,43802,273,280
5Jun 3, 2021 04:4434,302335,834,609284,709,69802,269,184
6Jun 3, 2021 04:1934,304350,893,451284,721,56702,256,896
7Jun 3, 2021 05:1834,306339,793,193284,743,16302,269,184
8Jun 3, 2021 04:5134,309341,672,428284,764,70502,265,088
9Jun 3, 2021 04:5034,309340,671,272284,766,24702,265,088
10Jun 3, 2021 04:4434,310358,423,863284,771,54602,260,992
11Jun 3, 2021 04:1934,311349,908,774284,780,65602,269,184
12Jun 3, 2021 04:2134,325338,722,871284,901,48302,256,896
13Jun 3, 2021 05:1835,864356,213,863297,672,72702,265,088
14Jun 3, 2021 04:4435,872376,335,722297,741,02402,269,184
15Jun 3, 2021 04:5035,912353,000,501298,070,08602,256,896
16Jun 3, 2021 04:5135,915372,319,998298,091,82002,265,088
17Jun 3, 2021 04:1935,918360,835,885298,118,90202,265,088
18Jun 3, 2021 04:5035,938362,008,181298,288,08802,269,184