输入一组整数,第一行输出最大值,第二行输出最小值。
第一行输入一个整数 n。 第二行输入 n 个整数。
输出两行。
3 5 1 3
5 1
1≤n≤105^55,-109^99≤ai_ii≤109^99
使用您的 www.mathcoding.online 通用账户