Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem1650--exam2-kth smallest
1650: exam2-kth smallest
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
161
Solved:
35
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
Input a group of n numbers and k,find the kth smallest,and show the original location of kth smallest
Input
a group of n numbers and k
Output
the kth smallest and original location of kth smallest
Sample Input
Copy
22 13 11 09 666 111 1 3
Sample Output
Copy
11 3
Source/Category
141