|
|
back to boardCommon BoardHelp me with 1067 (Disk Tree) Posted by ALT_TAB 12 Feb 2001 18:43 I can't get accept on this simple problem... And I have some questions. 1. Does '~' higher than 'A' ? 2. Does '(' higher than 'A' ? 3. Are codes of all used symbols lower, than 128 ? (signed char) And... Check your tests, please... i used strcmp and it was okay > I can't get accept on this simple problem... > And I have some questions. > > 1. Does '~' higher than 'A' ? > > 2. Does '(' higher than 'A' ? > > 3. Are codes of all used symbols lower, than 128 ? (signed > char) > > > And... Check your tests, please... I used C++'s strcmp to compare lexicographically string without bothering about 1, 2 and 3 and it worked Okay. Re: i used strcmp and it was okay Posted by ALT_TAB 12 Feb 2001 22:47 Thank you. And what is the maximum number of different directories ? (I've receive some Memory Limits) I think this number is 20000. And maximum memory for it is equal to 20000*(8+1) ~ 200 kB. Am I right ? Re: i used strcmp and it was okay > Thank you. > > And what is the maximum number of different directories ? > (I've receive some Memory Limits) > > I think this number is 20000. And maximum memory for it is > equal to 20000*(8+1) ~ 200 kB. > > Am I right ? 20000 worked with my proggy. But i use strlen(word)+1 memory for keeping every word, but not 9 chars or so. |
|
|