Home > database >  Excuse me will number such as 200, 300:400 into ratio 2:3:4 algorithm
Excuse me will number such as 200, 300:400 into ratio 2:3:4 algorithm

Time:10-02

Excuse me will number such as 200, 300:400 into ratio 2:3:4 algorithm

CodePudding user response:

All/100!

CodePudding user response:

The junior middle school mathematics teacher three minutes in silence for you,
Number three greatest common divisor, then the number of the three were divided by the greatest common divisor is your solution,

CodePudding user response:

refer to the second floor of AFIC reply:
junior high school mathematics teacher three minutes in silence for you,
Number three greatest common divisor, then the number of the three were divided by the greatest common divisor is your solution,

This.

However, as a representative of the junior high school of mathematical sciences, I also for my junior high school mathematics teacher three minutes in silence.
Because I am not the greatest common divisor. -_ -!!!!!!

CodePudding user response:

refer to the second floor of AFIC reply:
junior high school mathematics teacher three minutes in silence for you,
Number three greatest common divisor, then the number of the three were divided by the greatest common divisor is your solution,


Wanted to the top, on the second floor (though he want my head),


Copy a function as a child.

(a, b, c) the greatest common divisor of=f_maxcomdiv (a, f_maxcomdiv (b, c))

//long f_maxcomdiv (long num1, long num2)

Long ll_swap
If num1 & lt; Num2 then
Ll_swap num1=
Num1=num2
Num2=ll_swap
End the if
The do while mod (num1, num2) & lt;> 0
Num2=mod (num1, num2)
Loop

Return num2

CodePudding user response:

Under the positive solution to the second floor, roof,

CodePudding user response:

2, 4 floor of positive solutions

CodePudding user response:

4 floor of the way as if can only handle the result of 0 number!
If pass the 9 and 5 in...

CodePudding user response:

The brothers are all so talented,

CodePudding user response:

The
reference 7 floor zyf32145 response:
4 floor of the way as if can only handle the result is 0 number!
If pass the 9 and 5 in...

9 and 5 greatest common divisor is 1. That's right.

Is the parameter cannot take 0, otherwise there will be in addition to zero error.

CodePudding user response:

Thank you brother, problem solved, programming for so many years don't even remember junior high school math, ashamed

CodePudding user response:

reference 4 floor kenshu response:
refer to the second floor of AFIC reply:
The junior middle school mathematics teacher three minutes in silence for you,
Number three greatest common divisor, then the number of the three were divided by the greatest common divisor is your solution,


Wanted to the top, on the second floor (though he want my head),


Wrong, I just suggest the others so, I can never thought you head ah, ha ha,

CodePudding user response:

11 references AFIC response:
reference 4 floor kenshu response:
Refer to the second floor of AFIC reply:
The junior middle school mathematics teacher three minutes in silence for you,
Number three greatest common divisor, then the number of the three were divided by the greatest common divisor is your solution,


Wanted to the top, on the second floor (though he want my head),



Wrong, I just suggest others then make (ancient people built a word, just for you, to commit the darkest deeds), I can never thought you head ah, ha ha,


Very good, I also very wronged, ^ - ^.
Because I just suggest someone else do it, I never use the things do the same thing myself ah, ha ha, TOO.

In most cases, to email me, I don't even suggest the somebody else to do so (of course, not because of my personal character especially good, there are other reasons. If you like, you can understand, I'm sick)
  • Related