poj 1088 滑雪

題意:找出最長的遞增道路,能夠上下左右四個方向走spa DP方程:step[ i ][ j ] = max{ step[ i-1][ j ],  step[ i ][ j-1],  step[ i+1][ j ],  step[ i ][ j+1] };code #include<stdio.h> int mp[101][101];//記錄原始數據 int step[101][101];//記錄每
相關文章
相關標籤/搜索