3 3 1 1 1 5 28 26 25 24 1 10 996 901 413 331 259 241 226 209 139 49
5 233 11037
case 1 : f(1,1)=0 f(1,2)=f(1,1)+3=3 f(1,3)=f(1,2)+3=6 f(2,1)=min(f(2,1)+2,f(1,2))=3 f(2,2)=min(f(2,1)+2,f(1,3))=5 f(2,3)=f(2,2)+2=7 f(3,1)=min(f(3,1)+1,f(2,2))=5
Author | SXYZ |
Recommend | wange2014 |
时间上限 | 内存上限 |
3000/1500MS(Java/Others) | 131072/131072K(Java/Others) |
·
·
·
·