Type: Default 1000ms 256MiB

倒数第m个数是几

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

输入n个整数,输出倒数第m个数。

输入:

第一行为n,m;表示有n个整数

第二行有n个整数

输出:

倒数第m个数

6 4
4 3 2 1 6 5
2

说明:倒数第4个数字就是2

精英班-Day04作业

Not Claimed
Status
Done
Problem
12
Open Since
2024-7-23 0:00
Deadline
2024-7-24 23:59
Extension
24 hour(s)