#D8430. Max Distance Game
Max Distance Game
Max Distance Game
Example
Input
5 Alice 10 20 30 40 50
Output
30
inputFormat
Input
5 Alice 10 20 30 40 50
outputFormat
Output
30
样例
5 Alice
10 20 30 40 50
30
Example
Input
5 Alice 10 20 30 40 50
Output
30
Input
5 Alice 10 20 30 40 50
Output
30
5 Alice
10 20 30 40 50
30
By signing up a OpenJudge universal account, you can submit code and join discussions in all online judging services provided by us.