|
|
back to boardHow can I get where's the end of commands? How can I get where's the end of commands? There are no files and eof() in pascal won't help. Simply while not EOF do (-) - Re: Simply while not EOF do (-) Thanx, but now I have another problem: WA #5. I'm adding all the stars, was it in the base or not. Then on a query I create a new array with stars matching the mask, but not in this array already. Then quicksort this array and output. Maybe my algorythm is wrong and I should enter all the stars first, sort them and then output. This may work because only 20 first stars should be printed. What can you say? And sorry for my bad english :) Do you add the word 'sun' at the beginning? (+) Your algo seems to be correct. Re: Simply while not EOF do (-) Posted by Tkach 25 Feb 2006 00:42 I Write Simple Algo But WA 5 too... Re: Simply while not EOF do (-) I do add the word "sun" in my base Can't tell; I can send you my program so you compare the outputs for random tests (-) - Re: Can't tell; I can send you my program so you compare the outputs for random tests (-) I would be very gratefull, here's my email: zorg-n-ko@nm.ru |
|
|