
枚举
文章平均质量分 70
TLECODE
这个作者很懒,什么都没留下…
展开
-
【bzoj 4391】 High Card Low Card 【Usaco2015 dec】
DescriptionBessie the cow is a huge fan of card games, which is quite surprising, given her lack of opposable thumbs. Unfortunately, none of the other cows in the herd are good opponents. They are s...原创 2018-08-17 23:13:04 · 279 阅读 · 0 评论 -
【bzoj 4393】 Fruit Feast 【Usaco2015 Dec】
DescriptionBessie has broken into Farmer John's house again! She has discovered a pile of lemons and a pile of oranges in the kitchen (effectively an unlimited number of each), and she is determined...原创 2018-08-18 19:28:59 · 340 阅读 · 0 评论 -
【bzoj 4395】 Switching on the Lights 【Usaco2015 dec】
DescriptionFarmer John has recently built an enormous barn consisting of an N×NN×N grid of rooms (2≤N≤100), numbered from (1,1)up to (N,N). Being somewhat afraid of the dark, Bessie the cow wants to...原创 2018-08-18 23:51:04 · 334 阅读 · 0 评论 -
【bzoj 2208】 连通数 【Jsoi2010】
DescriptionInput输入数据第一行是图顶点的数量,一个正整数N。 接下来N行,每行N个字符。第i行第j列的1表示顶点i到j有边,0则表示无边。Output输出一行一个整数,表示该图的连通数。Sample Input3010001100Sample Output9HINT 对于100%的数据,N不超过2000。这道题貌似标解和暴力...原创 2018-08-20 14:38:10 · 337 阅读 · 0 评论