ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1173. Lazy Snail

Show all messages Hide all messages

Hi
I calculate every friend`s degree to wally house and then sort them
and with a little bit change write them...
but i know there is another way to swap endpoint of line if two line
cut eachother such as
*    *
 *  *
  **
  **
 *  *
*    *
Gets
*    *
*    *
*    *
*    *
*    *
*    *
anyonw want to change his solutin with mine?
Aidin_n7@hotmail.com