- Category:
- Printing program
- Tags:
-
- File Size:
- 9kb
- Update:
- 2017-05-23
- Downloads:
- 0 Times
- Uploaded by:
- 罗奥荣
Description: If an integer x (x> 1) exists in a rray, then 2* x+ 1 and 3* x+ 1 must also be in this array, known as 1 for the array of elements, given an integer K (k> 1), it is required to find the number of the kth largest in the array.For example,a[3] {1,2,3},if k 1 ,then the result is 3 if k 2,then the result is 2 if k 3,then the result is 1 if k> 4 or k<1,then the output is wrong.
To Search:
File list (Check if you may need any files):
C++ Findkth.docx