Блог пользователя stostap

Автор stostap, 13 лет назад, перевод, По-русски
Please, help. Give me some hints ...
  • Проголосовать: нравится
  • +1
  • Проголосовать: не нравится

13 лет назад, # |
Rev. 3   Проголосовать: нравится 0 Проголосовать: не нравится
if A is a minimum number in it's group, this property hold:

1. the leftmost didgit of A is 0.
2. divide A in 2 parts with equal size like x,y. x have first half digit and y have another. 
then x must less than reverse (y) and reverse (not (y)).

example for reverse : reverse (100) = 001
example for not : not(100) : 011

sorry for my poor english!

hope can help you! ;)   
13 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится
Such funny task I haven't solved more than half year...
or my solution is not optimal but I put it into Memory/Time limit or ...