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 2, 2021 19:15evgenikwtevgenikwtScore: 51,873Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 18:5549,936465,368,543414,466,99302,269,184
2Jun 2, 2021 19:1750,036483,813,449415,302,64702,269,184
3Jun 2, 2021 19:0150,086477,322,203415,711,29702,260,992
4Jun 2, 2021 19:1650,113472,089,642415,940,64002,269,184
5Jun 2, 2021 18:4150,135470,510,396416,117,52302,277,376
6Jun 2, 2021 18:4150,153489,275,248416,270,86402,269,184
7Jun 2, 2021 18:5750,159470,884,071416,318,04602,269,184
8Jun 2, 2021 18:5750,169485,001,446416,406,14202,269,184
9Jun 2, 2021 19:0150,230472,155,724416,908,51302,265,088
10Jun 2, 2021 19:1550,243479,977,691417,020,41802,281,472
11Jun 2, 2021 18:5550,258482,315,000417,140,86502,269,184
12Jun 2, 2021 18:5851,856484,787,312430,405,97302,269,184
13Jun 2, 2021 19:1751,873500,768,525430,544,13802,269,184
14Jun 2, 2021 19:0151,891524,798,319430,693,99502,273,280
15Jun 2, 2021 18:4151,928492,538,060431,003,36902,277,376
16Jun 2, 2021 19:1651,956495,763,945431,236,73902,277,376
17Jun 2, 2021 19:1651,973500,563,599431,371,90702,277,376
18Jun 2, 2021 18:5851,995508,811,074431,556,79302,277,376
19Jun 2, 2021 18:5852,023497,666,410431,792,76502,273,280
20Jun 2, 2021 19:1552,029494,894,833431,839,41402,260,992
21Jun 2, 2021 19:1752,032497,512,835431,869,63002,260,992
22Jun 2, 2021 18:5752,043496,964,441431,953,59802,256,896
23Jun 2, 2021 18:5552,052483,436,244432,028,56902,273,280
24Jun 2, 2021 19:1552,065505,852,110432,142,00302,265,088