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 1092. Transversal

Show all messages Hide all messages

Can anybody please tell me how to greedy this prob? Maigo Akisame (maigoakisame@yahoo.com.cn) 28 Oct 2004 05:04
Well, it's not hard after proving that there's always a solution Maigo Akisame (maigoakisame@yahoo.com.cn) 28 Oct 2004 15:26
Put all + signs onto main diagonal (except for the last row). Then you have to (optionally) flip main diagonal and reduce double + in columns towards single + in the last column.