Re: RA NOTE 02/06 (转载)# PennySaver - 省钱一族
d*u
1 楼
Can anyone provide an efficient C code for the following probem, minimizing
the calculating time.
20 random numbers, 10 of them are even, the other 10 are odd.
order the 20 numbers in an alternate way in terms of odd and even.
Also, all the even numbers should be in an decreasing way. same for odd
numbers.
Thanks
the calculating time.
20 random numbers, 10 of them are even, the other 10 are odd.
order the 20 numbers in an alternate way in terms of odd and even.
Also, all the even numbers should be in an decreasing way. same for odd
numbers.
Thanks