滑雪问题:
高--->低,求滑行最长距离
input:第一行表示区域的行数R和列数C(1<=R,C<=100),R行C个数,代表高度h,0<=h<=10000;
output:求出最长区域的长度;
sample input:
5 5
1 2 3 4 5
16 17 18 19 6
15 24 25 20 7
14 23 22 21 8
13 12 11 10 9
sample output:
25
代码:
#include <iostream&g