#7025. 【入门】递归法求最大值

【入门】递归法求最大值

Description

递归方法求N个数中的最大数及其位置。

Input Format

	第一行一个整数N,N<=1000;
 
 
	第二行,N个不重复的整数。
</div>

Output Format

最大值和其位置。

10
2 4 1 6 3 10 9 7 8 5
10 6

Source

递归