{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\n \u003cdiv class\u003d\"ptx\" lang\u003d\"en-US\"\u003e\n It\u0027s not surprising that Wanggann likes skiing, because skiing is really exciting. However, in order to gain speed, the sliding area must be tilted downwards, and when you slide to the bottom of the hill, you have to go uphill again or wait for the lift to load you.Wanggann wants to know the longest bottom landslide in one area. The area is given by a two-dimensional array. Each number in the array represents the height of the point. For example:\n \u003cbr\u003e\n \u003cpre\u003e 1 2 3 4 5\n\u003cbr\u003e16 17 18 19 6\n\u003cbr\u003e15 24 25 20 7\n\u003cbr\u003e14 23 22 21 8\n\u003cbr\u003e13 12 11 10 9\u003c/pre\u003e \n \u003cbr\u003eA slider can slide from one point up and down to one of the four adjacent points iff the height decreases. In the above example, a glideable landslide is 24-17-16-1. Of course 25-24-23-...-3-2-1 is longer. In fact, this is the longest one.\n \u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\n \u003cdiv class\u003d\"ptx\" lang\u003d\"en-US\"\u003e\n The first line entered indicates the number of rows R and the number of columns C (1 \u0026lt;\u003d R, C \u0026lt;\u003d 100). The following is an R row with C integers for each row, representing the height h, 0 \u0026lt;\u003d h \u0026lt;\u003d 10000.\n \u003c/div\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\n \u003cdiv class\u003d\"ptx\" lang\u003d\"en-US\"\u003e\n The length of the longest area.\n \u003c/div\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cpre class\u003d\"sio\"\u003e5 5\n1 2 3 4 5\n16 17 18 19 6\n15 24 25 20 7\n14 23 22 21 8\n13 12 11 10 9\n\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cpre class\u003d\"sio\"\u003e25\u003c/pre\u003e"}}]}