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 22, 2024 20:16Павел РатмановПавел РатмановScore: 50,307Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 22, 2024 20:1450,133439,318,471356,090,00060,015,0002,289,664
2Sep 22, 2024 20:1450,148441,739,653361,198,00055,030,0002,334,720
3Sep 22, 2024 20:1550,148442,971,851357,196,00059,032,0002,326,528
4Sep 22, 2024 20:1450,171443,954,621357,359,00059,059,0002,326,528
5Sep 22, 2024 20:1450,195441,053,255361,672,00054,950,0002,289,664
6Sep 22, 2024 20:1550,201445,696,793355,714,00060,951,0002,326,528
7Sep 22, 2024 20:1450,206443,306,030361,616,00055,093,0002,322,432
8Sep 22, 2024 20:1450,217443,539,052360,827,00055,973,0002,289,664
9Sep 22, 2024 20:1450,223440,218,129357,869,00058,978,0002,441,216
10Sep 22, 2024 20:1550,241442,763,004356,001,00061,000,0002,330,624
11Sep 22, 2024 20:1450,307446,778,194358,611,00058,936,0002,289,664
12Sep 22, 2024 20:1450,320451,357,804360,701,00056,952,0002,289,664
13Sep 22, 2024 20:1650,562450,335,843363,710,00055,955,0002,330,624
14Sep 22, 2024 20:1650,574442,452,249365,796,00053,969,0002,416,640
15Sep 22, 2024 20:1650,616446,985,415346,095,00074,020,0002,330,624
16Sep 22, 2024 20:1657,722506,214,478424,081,00055,010,0002,289,664
17Sep 22, 2024 20:1657,722502,782,144416,081,00063,012,0002,322,432
18Sep 22, 2024 20:1657,774505,814,124422,578,00056,943,0002,281,472
19Sep 22, 2024 20:1658,119510,882,237428,341,00054,043,0002,281,472
20Sep 22, 2024 20:1658,124508,074,096425,379,00057,050,0002,289,664
21Sep 22, 2024 20:1658,178504,288,049420,895,00061,984,0002,326,528