AOJ-579-期末考试之考试传纸条
摘要:AOJ-579-期末考试之考试传纸http://icpc.ahu.edu.cn/OJ/Problem.aspx?id=579BFS,按模版写的,比赛时数据输入处理弄错了,哎。。。太弱了。。。#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int n,m;
char map[105][105];
int ans[105][105];
int dir[4][2]={{-1,0},{1,0},{0,-1},{0,1}};
typedef struct
{ int x; int y;
}node;
in
阅读全文
posted @ 2012-06-18 00:57