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

2015年5月11日

UVALIVE 6905 Two Yachts(最小费用最大流)
摘要: #include using namespace std;const int maxn=11111;const int inf=0x3f3f3f3f;int t,n;int u[maxn],v[maxn],w[maxn],head[maxnq; q.push(s); while(!q.e... 阅读全文
posted @ 2015-05-11 19:43 asdflkj 阅读(181) 评论(0) 推荐(0)
 
Gym Conference Room (最小表示法,哈希)
摘要: #include using namespace std;const int maxn=1005;const int base=10007;typedef unsigned long long ULL;setsave;int n;int a[4][maxn],b[maxn];int id[maxn=... 阅读全文
posted @ 2015-05-11 19:41 asdflkj 阅读(341) 评论(0) 推荐(0)
 
 

公告


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