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 17, 2022 06:37Yuriy LyfenkoYuriy LyfenkoScore: 27,292Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2022 06:4727,271248,639,591225,350,0001,001,0002,326,528
2Jan 17, 2022 06:4727,273246,672,810224,361,0002,003,0002,355,200
3Jan 17, 2022 06:3727,276247,339,087224,386,0002,003,0002,326,528
4Jan 17, 2022 06:3727,277247,753,128224,394,0002,003,0002,326,528
5Jan 17, 2022 06:4727,277248,848,272225,399,0001,001,0002,527,232
6Jan 17, 2022 06:4727,278250,706,789224,407,0002,003,0002,527,232
7Jan 17, 2022 06:4727,283247,485,335224,444,0002,003,0002,322,432
8Jan 17, 2022 06:4727,286254,887,358224,471,0002,004,0002,322,432
9Jan 17, 2022 06:3727,288248,525,682225,491,0001,002,0002,326,528
10Jan 17, 2022 06:3727,288276,732,334226,488,43602,220,032
11Jan 17, 2022 06:4727,289282,092,935226,502,58302,220,032
12Jan 17, 2022 06:3727,290293,876,707226,506,36702,211,840
13Jan 17, 2022 06:4727,292254,383,898224,521,0002,004,0002,322,432
14Jan 17, 2022 06:4727,292290,109,492226,523,58602,211,840
15Jan 17, 2022 06:4727,293284,191,713226,528,64602,215,936
16Jan 17, 2022 06:3727,294259,361,959224,548,0001,995,0002,523,136
17Jan 17, 2022 06:3727,302284,799,400226,608,62502,211,840
18Jan 17, 2022 06:3727,306254,750,425224,643,0001,996,0002,326,528
19Jan 17, 2022 06:4727,319252,700,541223,753,0002,996,0002,326,528
20Jan 17, 2022 06:4727,319252,534,567224,754,0001,997,0002,514,944
21Jan 17, 2022 06:3727,321255,457,310223,767,0002,996,0002,527,232
22Jan 17, 2022 06:3727,321254,878,196224,767,0001,997,0002,326,528
23Jan 17, 2022 06:3727,321251,674,283223,768,0002,996,0002,531,328
24Jan 17, 2022 06:3727,321251,376,048224,766,0001,997,0002,523,136