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 listOct 11, 2023 19:52Serge SmirnovSerge SmirnovScore: 34,556Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 11, 2023 17:4534,522354,106,152286,532,04702,285,568
2Oct 11, 2023 17:4334,531338,622,426286,610,88602,281,472
3Oct 11, 2023 17:4334,533345,872,419286,625,81102,285,568
4Oct 11, 2023 19:5234,534353,784,557286,633,46302,281,472
5Oct 11, 2023 17:4334,536354,938,996286,648,27102,285,568
6Oct 11, 2023 19:4934,536346,553,192286,647,18302,285,568
7Oct 11, 2023 19:5234,541365,391,409286,688,29002,277,376
8Oct 11, 2023 19:5934,541348,083,134286,692,35102,281,472
9Oct 11, 2023 19:5934,542352,290,332286,699,81702,289,664
10Oct 11, 2023 19:5334,544349,749,204286,717,48502,281,472
11Oct 11, 2023 19:4834,547351,975,441286,741,59102,281,472
12Oct 11, 2023 19:4934,549373,850,154286,752,57302,293,760
13Oct 11, 2023 17:4334,552359,780,187286,781,48802,285,568
14Oct 11, 2023 19:4834,553357,607,614286,787,29102,285,568
15Oct 11, 2023 19:4834,556348,233,532286,815,59702,289,664
16Oct 11, 2023 19:5634,556362,848,047286,817,23702,285,568
17Oct 11, 2023 19:5634,557353,572,265286,820,52102,277,376
18Oct 11, 2023 19:5334,573358,319,863286,958,68302,289,664
19Oct 11, 2023 19:4934,580353,711,584287,015,99402,285,568
20Oct 11, 2023 19:5234,582368,037,453287,030,82302,289,664
21Oct 11, 2023 17:4334,598349,143,827287,162,61602,289,664
22Oct 11, 2023 17:4334,611347,495,835287,275,31502,252,800
23Oct 11, 2023 17:4534,612369,712,163287,281,36802,281,472
24Oct 11, 2023 19:5335,930364,558,617298,219,72002,281,472
25Oct 11, 2023 19:5635,937359,761,420298,277,40702,281,472
26Oct 11, 2023 19:5235,945358,758,159298,341,18502,285,568
27Oct 11, 2023 17:4537,417370,406,018310,557,43102,285,568
28Oct 11, 2023 19:5237,423386,248,258310,612,65802,285,568
29Oct 11, 2023 19:5937,432385,530,009310,688,56702,289,664
30Oct 11, 2023 19:5237,450376,660,708310,831,87802,281,472