• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Canopus_wym
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 24 下一页

2018年2月22日

POJ 1509 Glass Beads
摘要: Once upon a time there was a famous actress. As you may expect, she played mostly Antique Comedies most of all. All the people lo... 阅读全文
posted @ 2018-02-22 15:04 Canopus_wym 阅读(121) 评论(0) 推荐(0)
 
 

2018年2月15日

Codeforces Round #462 (Div. 2)
摘要: 由于太菜只能做出前两题……A. A Compatible Pair思路:暴力枚举。 代码:#include #include const int maxn=100;const long long inf=0x3f3f3f3f3f3f3f3f;int read... 阅读全文
posted @ 2018-02-15 09:52 Canopus_wym 阅读(132) 评论(0) 推荐(0)
 
 

2018年2月13日

BZOJ 1565 [NOI2009]植物大战僵尸
摘要: DescriptionInputOutput仅包含一个整数,表示可以获得的最大能源收入。注意,你也可以选择不进行任何攻击,这样能源收入为0。Sample Input3 2 10 0 20 0 -10 0 -5 1 0 0 100 1 2 1 100 0Sam... 阅读全文
posted @ 2018-02-13 16:44 Canopus_wym 阅读(153) 评论(0) 推荐(0)
 
 

2018年2月11日

BZOJ 2127 happiness
摘要: Description高一一班的座位表是个n*m的矩阵,经过一个学期的相处,每个同学和前后左右相邻的同学互相成为了好朋友。这学期要分文理科了,每个同学对于选择文科与理科有着自己的喜悦值,而一对好朋友如果能同时选文科或者理科,那么他们又将收获一些喜悦值。作为计... 阅读全文
posted @ 2018-02-11 16:07 Canopus_wym 阅读(160) 评论(0) 推荐(0)
 
 

2018年2月10日

浅谈算法——博弈论
摘要: 转载说明https://www.cnblogs.com/Wolfycz/p/8430991.htmlhttps://www.luogu.org/blog/Wolfycz/qian-tan-suan-fa-bo-yi-lun-zong-ling-kai-shi... 阅读全文
posted @ 2018-02-10 11:10 Canopus_wym 阅读(479) 评论(0) 推荐(1)
 
 

2018年2月6日

POJ 2975 Nim
摘要: DescriptionNim is a 2-player game featuring several piles of stones. Players alternate turns, and on his/her turn, a player’s mov... 阅读全文
posted @ 2018-02-06 16:24 Canopus_wym 阅读(134) 评论(0) 推荐(0)
 
POJ 2154 Color
摘要: DescriptionBeads of N colors are connected together into a circular necklace of N beads (Nans=1n∑i=0n−1ngcd(n,i)ans=1n∑i=0n−1ngcd... 阅读全文
posted @ 2018-02-06 15:13 Canopus_wym 阅读(106) 评论(0) 推荐(0)
 
 

2018年2月2日

BZOJ 2938 [Poi2000]病毒
摘要: 题目链接权限题不放题目描述了思路建好AC自动机,用DFS判环。代码#include #include const int maxn=30000;struct ac_automaton{ int son[maxn+10][2],cnt,fail[maxn+1... 阅读全文
posted @ 2018-02-02 12:05 Canopus_wym 阅读(107) 评论(0) 推荐(0)
 
 

2018年2月1日

二分图知识点总结
摘要: 最大匹配:在二分图中,最多的没有公共顶点的边的数量。(用匈牙利算法) 最小点覆盖:在二分图中,所有边至少有一个顶点在一个点集S" role="presentation">SS中,这样的点集S" role="presentation">SS的最少元素个数。(最... 阅读全文
posted @ 2018-02-01 17:40 Canopus_wym 阅读(216) 评论(0) 推荐(0)
 
POJ 2503 Babelfish
摘要: DescriptionYou have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign langua... 阅读全文
posted @ 2018-02-01 11:56 Canopus_wym 阅读(137) 评论(0) 推荐(0)
 
 
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 24 下一页

公告


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