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 1067. Disk Tree

lexicographic order ?
Posted by tiancaihb 13 Aug 2009 11:58
Well,I don't think I often see !~#$%^& in my dictionary...
But I use strcmp directly and it seemed to work.
And a lot of messy structs and pointers made me mad.

I used son-brother to store a tree,so I created a virtual dir called "." in each real dir,that makes programming a bit easier.
Maybe this will somehow help you,or not.