hdu 4740 The Donkey of Gui Zhou
摘要:
1.扯犊子超多if else 判断的代码,华丽丽的TLE。#include#include#define N 1010int map[N][N];int f[4][2]= {0,1,1,0,0,-1,-1,0};struct Node{ int x,y; int f;};int main(){ int n; Node tig,don; while(scanf("%d",&n)!=EOF&&n) { memset(map,0,sizeof(map)); scanf("%d %d %d",&don.x,&don.y,& 阅读全文
posted @ 2013-09-22 16:12 雨钝风轻 阅读(266) 评论(0) 推荐(1) 编辑