输入 n 个整数和目标 t,输出最先出现的最接近 t 的位置。
第一行输入 n 和 t。 第二行输入 n 个整数。
输出一个整数。
3 5 1 9 3
3
1≤n≤100
使用您的 www.mathcoding.online 通用账户