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

2007年10月21日

PKU3264线段树解法
摘要: #include #include struct node { node * pl, * pr; int left, right; int mxa, min; }mem[100000]; int memCount; int n, q; int mxa, min; node * newNode() { node * pt=&mem[memCount++]; ... 阅读全文
posted @ 2007-10-21 21:23 sql172 阅读(469) 评论(1) 推荐(0)
 
PKU2029
摘要: #include #include int n, W, H, w, h; int m[101][101]; int cnt; void DP() { int i, j; int c=0; for(i=w;i<=W;i++) for(j=h;j<=H;j++) { if(j==h) { ... 阅读全文
posted @ 2007-10-21 20:06 sql172 阅读(172) 评论(0) 推荐(0)
 
 

公告


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