摘要:
http://acm.pku.edu.cn/JudgeOnline/problem?id=1088状态转移方程:DP(i ,j) = max(DP(i - 1, j), DP(i + 1,j), DP(i , j - 1), DP(i , j + 1)) + 1;代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//刚开始接触DP题,用起来也很不熟练,看了discuss写的#include<stdio.h>int row, co 阅读全文