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

plank george

人生豪迈,只不过是重头再来。
  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2013年7月23日

The Pilots Brothers' refrigerator (POJ 2965)

摘要: http://poj.org/problem?id=2965 这个题目和上一道题目差不多,暴搜可解。 代码如下: #include<cstdio>#include<cstring>using namespace std;//还要记录成功翻牌时的坐标顺序struct point{ int x; int 阅读全文

posted @ 2013-07-23 14:31 plank george 阅读(147) 评论(0) 推荐(0)

翻牌Flip Game POJ 1753

摘要: http://poj.org/problem?id=1753 这个题目一看就要用搜索,但是如何最小? 题目只有4*4 行 ,所以好说了,暴力dfs。 1 #include<stdio.h> 2 char map[4][4]; 3 int vis[4][4]; 4 int step,flag; 5 i 阅读全文

posted @ 2013-07-23 08:45 plank george 阅读(163) 评论(0) 推荐(0)

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