• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
startgo
博客园 首页 新随笔 联系 订阅 订阅 管理

2013年1月8日

UVa 10047
摘要: 1 #include<stdio.h> 2 #include<string.h> 3 const int N = 30; 4 char map[N][N]; 5 struct node { 6 int dir, x, y, time, color; 7 }q[N * N * 5 * 4 * 10], cur, next, start, end; 8 int m, n; 9 bool judge(node cur) { 10 if(cur.x >=0 && cur. x < m && cur.y >=0 && 阅读全文
posted @ 2013-01-08 14:03 startgo 阅读(284) 评论(0) 推荐(0)
 
UVa 11624
摘要: 1 #include<stdio.h> 2 #include<string.h> 3 const int N = 1010; 4 char map[N][N]; 5 int time[N][N]; 6 bool v[N][N]; 7 struct node { 8 int x, y, minute; 9 }q[N * N], joe, fire, cur, next;10 int dir[4][2] = {-1, 0, 1, 0, 0, -1, 0, 1}, r, c;11 bool judge(node cur) {//边界判断12 if(cur.x >= 0 阅读全文
posted @ 2013-01-08 13:37 startgo 阅读(184) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3