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 listApr 13, 2024 16:46E SequeiraE SequeiraScore: 19,857Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2024 16:4219,809216,906,617164,417,52502,232,320
2Apr 13, 2024 16:4219,815237,321,635164,465,23602,244,608
3Apr 13, 2024 16:4619,819222,125,141164,497,53602,232,320
4Apr 13, 2024 16:4619,821228,014,042164,518,15802,232,320
5Apr 13, 2024 16:4219,825229,761,235164,544,73802,228,224
6Apr 13, 2024 16:4219,846192,399,149163,721,000998,0002,281,472
7Apr 13, 2024 16:4219,850191,789,325162,756,0001,997,0002,506,752
8Apr 13, 2024 16:4619,853189,914,070163,782,000998,0002,506,752
9Apr 13, 2024 16:4619,853191,300,488163,779,000998,0002,506,752
10Apr 13, 2024 16:4619,854192,058,448162,790,0001,997,0002,502,656
11Apr 13, 2024 16:4219,854190,720,310163,789,000998,0002,285,568
12Apr 13, 2024 16:4619,855195,660,034162,797,0001,997,0002,285,568
13Apr 13, 2024 16:4219,857193,966,106162,815,0001,997,0002,510,848
14Apr 13, 2024 16:4219,859190,836,080163,831,000998,0002,285,568
15Apr 13, 2024 16:4619,861192,381,799163,849,000999,0002,285,568
16Apr 13, 2024 16:4619,867197,827,838162,897,0001,998,0002,506,752
17Apr 13, 2024 16:4619,869191,825,902162,917,0001,998,0002,285,568
18Apr 13, 2024 16:4219,872200,436,192162,942,0001,999,0002,355,200
19Apr 13, 2024 16:4219,873190,353,355163,951,000999,0002,289,664
20Apr 13, 2024 16:4219,876198,119,471163,972,000999,0002,502,656
21Apr 13, 2024 16:4619,881199,879,027163,010,0002,000,0002,506,752
22Apr 13, 2024 16:4219,884188,086,218163,040,0002,000,0002,506,752
23Apr 13, 2024 16:4619,890192,834,815163,086,0002,001,0002,502,656
24Apr 13, 2024 16:4620,149232,677,960167,236,95302,228,224