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 listJan 31, 2023 16:07unsatcoreunsatcoreScore: 12,670Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2023 09:2311,916156,282,85698,900,98302,277,376
2Feb 22, 2023 09:2311,917176,053,28798,907,52502,277,376
3Feb 22, 2023 09:2311,927169,005,27398,993,61402,285,568
4Jan 31, 2023 16:0711,945170,831,92399,142,08402,260,992
5Jan 31, 2023 16:0712,143172,046,461100,786,35402,277,376
6Jan 31, 2023 16:0712,144161,406,244100,797,15002,281,472
7Feb 22, 2023 09:2312,644132,233,666102,948,0001,998,0002,277,376
8Feb 22, 2023 09:2312,649130,699,879102,987,0001,999,0002,277,376
9Jan 31, 2023 16:0712,650132,403,261102,996,0001,999,0002,277,376
10Feb 22, 2023 09:2312,652128,758,071103,013,0002,000,0002,277,376
11Feb 22, 2023 09:2312,660128,732,995103,075,0002,001,0002,519,040
12Feb 22, 2023 09:2312,668131,080,637103,145,0002,002,0002,277,376
13Jan 31, 2023 16:0712,670130,327,081103,157,0002,003,0002,277,376
14Feb 22, 2023 09:2312,694130,301,389104,355,0001,003,0002,523,136
15Jan 31, 2023 16:0712,697132,478,192104,386,0001,003,0002,277,376
16Jan 31, 2023 16:0712,712134,526,584105,508,00002,277,376
17Feb 22, 2023 09:2312,717131,811,923104,547,0001,005,0002,277,376
18Jan 31, 2023 16:0712,757132,636,640104,885,000998,0002,277,376
19Jan 31, 2023 16:0712,758135,596,700103,893,0001,997,0002,265,088
20Feb 22, 2023 09:2312,768135,584,436103,973,0001,999,0002,277,376
21Jan 31, 2023 16:0712,775128,268,146104,029,0002,000,0002,277,376
22Feb 22, 2023 09:2312,796129,421,200104,203,0002,003,0002,277,376
23Jan 31, 2023 16:0712,803127,973,596104,263,0002,005,0002,277,376
24Jan 31, 2023 16:0712,865134,596,540104,782,0001,995,0002,277,376