从键盘读入n个整数,请问这n个整数的最大数是多少?
第1行读入一个整数n(n<=100);
第2行读入n个整数;
输出数组中的最大数;
5 2 1 5 3 4
5
By signing up a 追梦算法网 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 追梦算法网 universal account