|
|
back to boardI just don't get the mistake I made: I assigned an input file; Opened it for reading; Read the K; Went to the next line of file and read the array; Closed input file; Sorted the array with the bubble method; Went through half of it {(k div 2) +1}; Acquired the minimum number; Appended the input file; Wrote Line into it; Wrote donw the minimum number into the input file; Closed the input file; And that's it. Somebody, please help. I really don't understand a mistake I've made. Edited by author 21.12.2006 01:10 |
|
|