输入 n 个整数,输出第二大的不同数,没有则输出最大值。
第一行输入 n。 第二行输入 n 个整数。
输出第二大的不同数,没有则输出最大值。
4 1 9 3 4
4
1≤n≤100
使用您的 www.mathcoding.online 通用账户