通用版1.F - Robot Motion (深搜
#include <stdio.h>
#include <string.h>
int r,c,n,record[11][11],f[11][11],step;
char s[11][11];
void dfs(int x,int y)
{
int nx,ny;
step++;
if(x<0||x>=r||y<0||y>=c){...
原创
2018-02-18 12:18:56 ·
135 阅读 ·
0 评论