1

Topic: To lay out matches min and max number

2

Re: To lay out matches min and max number

Hello, the Corkcrew, you wrote: the Task not difficult, but seemed interesting. It is given N matches. It is necessary to lay out from them minimum and maximum number Image: --.jpg Zero in the beginning are forbidden. 50 10888888 from 50 matches maximum 999999991? Or 1111111111111111111111111? Or it is possible any notation of type 81 999999?

3

Re: To lay out matches min and max number

Hello, Kodt, you wrote:>> 50 10888888 SK>> from 50 matches maximum 999999991? Or 1111111111111111111111111? Or it is possible any notation of type 81 999999? It not maximum, but minimum. Maximum is a leader 7 or 1 (depending on parity), and further remaining units. Here I also was surprised, why in an example for 50 matches maximum it is offered "10888888"

4

Re: To lay out matches min and max number

Hello, Stanislaw K, you wrote:> It not maximum, but minimum.>> Maximum is a leader 7 or 1 (depending on parity), and further remaining units. SK> here I also was surprised, why in an example for 50 matches maximum it is offered "10888888" In an example a minimum, instead of a maximum.

5

Re: To lay out matches min and max number

Hello, the Corkcrew, you wrote:>> It not maximum, but minimum.>> Maximum is a leader 7 or 1 (depending on parity), and further remaining units. SK>> here I also was surprised, why in an example for 50 matches maximum it is offered "10888888" In an example a minimum, instead of a maximum. Negative it is possible?-711111111111111111111111

6

Re: To lay out matches min and max number

It is given N matches. It is necessary to lay out from them minimum and maximum number the pointer notation of the Whip?

7

Re: To lay out matches min and max number

Hello, the Corkcrew, you wrote: max: 1+11111111111... min:-1E+11111111111...

8

Re: To lay out matches min and max number

Hello, #John, you wrote: J> max: 1+11111111111... It was threw off on a pillow, relaxed and lit from a superfluous match...

9

Re: To lay out matches min and max number

Hello, Stanislaw K, you wrote: SK> It was threw off on a pillow, relaxed and lit from a superfluous match... In a condition it is told nothing about mandatory usage of all matches.

10

Re: To lay out matches min and max number

Hello, Ops, you wrote: SK>> It was threw off on a pillow, relaxed and lit from a superfluous match... Ops> In a condition it is told nothing about mandatory usage of all matches. And the prohibition to add the matches too is not present?

11

Re: To lay out matches min and max number

Hello, Stanislaw K, you wrote: SK> And the prohibition to add the matches too is not present? "It is given N matches." + "from them" it is possible to understand as the prohibition.

12

Re: To lay out matches min and max number

Hello, Ops, you wrote: SK>> And the prohibition to add the matches too is not present? Ops> "It is given N matches." + "from them" it is possible to understand as the prohibition. And to understand that it is necessary to use each of them, and it is impossible to leave not involved difficult?

13

Re: To lay out matches min and max number

Hello, Stanislaw K, you wrote: SK> And to understand that it is necessary to use each of them, and it is impossible to leave not involved difficult? If was so for all N minimum number would be "1".

14

Re: To lay out matches min and max number

Hello, flt, you wrote: SK>> And to understand that it is necessary to use each of them, and it is impossible to leave not involved difficult? F> if was so for all N minimum number would be "1". It was my following question.