string s = Console.ReadLine();
string s = Console.ReadLine();
string [] arr= s.Split(' ');返还由' '隔开的字符串
int[] arr1 = new int[9];
for (int i = 0; i < arr.Length; i++)
{
arr1[i] = Convert.ToInt32(arr[i]);
Convert 将一个基本数据类型转化为另一基本数据类型
}
for (int i = 0; i < arr1.Length; i++)
{
if (arr1[0]<arr1[i])
{
arr1[0]=arr1[i];
}
console.wright(arr1[0]);