心情好大晚上顺手来写个题结果自闭,a题记忆化写的为什么只能过9成数据。会wa,哪个大佬能大发慈悲帮忙看看代码么。。。看了a了的大佬们的写的直接搜索剪枝,照着撸了一个也是90%。另外是tle了。。感觉吃了奥里给一样。。 #include "cstdio" #include "cstring" #include "iostream" const int dx[4]={0,0,-1,1}; const int dy[4]={-1,1,0,0}; #define INF 0x7f7f7f const int maxn = ...