## 23890: CCC 1996 05 Maximum Distance

[提交][状态][讨论版][命题人:]

## 样例输入

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

## 样例输出

The maximum distance is 5

The maximum distance is 0



[提交][状态]