One day, Sil dreamed of a ”magic mirror”. Unlike normal mirrors, this type of mirror not only reflflects the image of the object, but also creates a copy of the object at the symmetric place behind the mirror. Object will be copied no matter if there’s something between the magic mirror and the object, unless the object is another mirror. Notice that the copies can also be copied by the magic mirror, but a magic mirror will never be copied by another magic mirror. In Sil’s dream, there’re two giant magic mirrors standing on an infifinite platform. Both have mirror surfaces on each side of them. The mirrors are so large that they can be recognized as two walls of infifinite length. When Sil was stranded in front of the mirrors at , there appeared so many copies of Sil!Now Sil wants to go to a specifific place at , can you tell him what’s the minimum distance between Sil or one copy of Sil and the target place?
One day, Sil dreamed of a ”magic mirror”. Unlike normal mirrors, this type of mirror not only reflflects the image of the object, but also creates a copy of the object at the symmetric place behind the mirror. Object will be copied no matter if there’s something between the magic mirror and the object, unless the object is another mirror. Notice that the copies can also be copied by the magic mirror, but a magic mirror will never be copied by another magic mirror. In Sil’s dream, there’re two giant magic mirrors standing on an infifinite platform. Both have mirror surfaces on each side of them. The mirrors are so large that they can be recognized as two walls of infifinite length. When Sil was stranded in front of the mirrors at (px, py), there appeared so many copies of Sil! Now Sil wants to go to a specifific place at (qx, qy), can you tell him what’s the minimum distance between Sil or one copy of Sil and the target place?