4593: 倒数第m个数是几
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:46
Solved:35
Description
输入n个整数,输出倒数第m个数。
n和m的范围均在1~100之间
n和m的范围均在1~100之间
Input
第一行为两个整数n和m
第二行有n个整数
第二行有n个整数
Output
倒数第m个数
Sample Input Copy
6 4
4 3 2 1 6 5
Sample Output Copy
2