2, 5, 7, 10, 14, 15, 18, 23, 35, 41, 52 Dichotomy Find 12

Updated on physical education 2024-06-13
10 answers
  1. Anonymous users2024-02-11

    program erfenfa;

    type zu=array[0..20000] of longint;

    var a,b:zu;

    i,k:longint;

    procedure erfen(c,d:longint);

    var x:longint;

    beginif c=d-1 then begin k:=c;exit; end;

    x:=(c+d) div 2;

    if a[x]>b[i] then erfen(c,x)else erfen(x,d);

    end;begin

    readln(a[0]);

    for i:=1 to a[0] do

    read(a[i]);

    readln(b[0]);

    for i:=1 to b[0] do

    read(b[i]);

    for i:=1 to b[0] do

    beginerfen(1,a[0]);

    if a[k]=b[i] then writeln('yes')else writeln('no');

    end;end.

    Enter as many numbers as you want first, one by one.

    Then enter the number you want to find, one by one.

    Sequential output is in which it is not.

    If you want a structural diagram, then you can summarize it yourself.

  2. Anonymous users2024-02-10

    Programming? In what language is it written?

  3. Anonymous users2024-02-09

    Probably with dedicated math software.

  4. Anonymous users2024-02-08

    Summary. Kiss: The solution process is as follows: it is equivalent to the interpolation method, inserting a number between every two 2s, and the law of these numbers is: starting from the first number 1, add 3, 2, 1, 2, 4, 2, 7, 2, 10 to find the law.

    What is the idea of solving this problem?

    Kiss is happy to solve the problem for you: the rule of 2, 1, 2, 4, 2, 7, 2, 10 is: just start 2 and then insert a number in the middle, then a 2 appears, then another number is inserted, and another 2 appears, and so on.

    And the number of interpolation in the middle is: the first one is: 1, add 3 each time, that is, the number of interpolation in the middle:

    The first one is with a hand 1, and the second one is: Slow Xiang 1 + 3 = 4 The third one is: 4 + 3 = 7 The fifth stupid one is:

    Kiss: The solution process is as follows: the nuclear of the sect is taken as the interpolation method, and a number is inserted between every two 2s, and the law of these numbers is that from the first number of 1, add 3 in turn, kiss: and then push down is ......This way.

    Extended information: Finding the law is the basic skill of primary school mathematics and middle school mathematics teaching, the purpose is to let students discover, experience, ** the simple arrangement of graphics and numbers, through comparison, so as to understand and grasp or grasp the method of finding the rules of the tape measure, and cultivate students' preliminary observation, operation, and reasoning ability.

    What is the answer.

    Kiss: The solution process is as follows: the nuclear part of the sect is used as the interpolation method, and a number is inserted between every two 2s, and the law of these numbers is that from the first number of 1, add 3 in turn, kiss: this is the answer.

    Kiss is happy to solve the problem for you: the rule of 2, 1, 2, 4, 2, 7, 2, 10 is: just start 2 and then insert a number in the middle, then a 2 appears, then another number is inserted, and another 2 appears, and so on.

    And the number of interpolation in the middle is: the first one is: 1, add 3 each time, that is, the number of interpolation in the middle:

    The first one is with a hand 1, and the second one is: Slow Xiang 1 + 3 = 4 The third one is: 4 + 3 = 7 The fifth stupid one is:

    Kiss: That's the rule.

  5. Anonymous users2024-02-07

    This series is to be looked at separately:

    The odd number column is 2 5 11 23, (

    The latter term minus the previous term

    Therefore, in parentheses, it should be filled in: 47

    The even number column is 4 7 13 25, (

    Backward minus the anterior group dilemma term

    Therefore, 49 should be inserted in parentheses

    I hope that my old man will be helpful to you, and I wish you a happy study.

  6. Anonymous users2024-02-06

    Answer]: C This series changes more gradually, so we first make a difference in pairs. <>

    This sequence is a series of numbers that are equal to the difference and the next round, so the answer is 47 + 24x2 = 95, so C should be chosen.

  7. Anonymous users2024-02-05

    Summary. Dear, glad to answer for you! The pattern of the 2,6,2,10,4,14,6,18,10,22 series is: start with 2 and increase by 4 each time, and then start from 2 and increase by 8 each time.

    2,6,2,10,4,14,6,18,10,22 to find a pattern.

    Dear, glad to answer for you! 2,6,2,10,4,14,6,18,10,22 The rule of the series of numbers is as follows: first start from 2 to open the letter and increase by 4 each time, and then implicitly start from 2 and increase by 8 each time.

    What about the 10 to 4 variation?

    Pro, it is arranged according to odd and even numbers. That is, 2, 2, 4, 6, 10 is a group, and 6, 10, 14, 18, 22 is a group.

    You send the answer, thank you.

    The formula for the first group is as follows: nth number = n-2nd number + n-1st number, where n 3, and the first number and the second number are both 2. The second group of tona is to add 4 each time

    Dear, how many answers do you want behind?

    Tagged process, thank you.

    The answer to this question is 16, 26

    16 Triangles at the bottom, and 22 with triangles on the heads.

    Isn't the rule of the bottom row all +4?

    No, the following rule is 13579 for a group, and the answer is the addition of the first two numbers.

    The formula is n=n-4 number + n-2 number addition.

    Do you understand?

  8. Anonymous users2024-02-04

    62 is decomposed into , with Boxiang 62, take 2 and 31 of them. The number of five groups from 1 to 10 is subtracted from 2 for each group(10 minus 8....Peibo) 11 to 20 groups, five groups with plus 31 per group

    There are 22 and 21 left, the large number is reduced by 1, and any number multiplied by 1 is unchanged, which is two invalid numbers of silver fighting, so that 1 to 22 are used for these numbers, just five groups, each group is 62, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 five equals 62 list.

  9. Anonymous users2024-02-03

    Answer] :d first step, this question examines multiple sequences of numbers.

    In the second step, the number series is longer than the base calendar, and the multiple number pins in the column are considered. The odd term is 2, the wrestling search is 5,8,11,14, is the equal difference series with a tolerance of 3, and the even term is 11,12,23,35,( is a recursive series, 11+12=23,12+23=35, and the next term is 23+35=58.

  10. Anonymous users2024-02-02

    Summary. Pro, the calculation process is as follows: 2, 5, 5, 10, 8, 15, 11, 20, 14, 25....The law of this column of numbers is that the even term is a series of equal differences, and the latter term is 5 more than the previous term. The odd term is also a series of equal differences, and the latter term is 3 more than the previous term.

    2,5,5,10,8,15,11,20,14,25 Looking for a pattern?

    Dear, this question will take about 2 minutes, and I'll send it to you right away.

    Pro, the calculation process before the end of the file is as late as the next stupid: 2, 5, 5, 10, 8, 15, 11, 20, 14, 25....The law of this column of numbers is that the even term is a series of equal differences, and the latter term is 5 more than the previous term. The odd term is also an equal row of variance series, and the latter term is 3 more than the previous term.

    The number of this column is: 2, 5, 5, 10, 8, 15, 11, 20, 14, 25, (17), (30) ......

    Dear, no problem! 8 is also in there!

    The odd terms are: 2, 5, 8, 11, 14, 17....The even terms are: 5, 10, 15, 20, 25, 30....

Related questions