zhber
有好多做过的题没写下来,如果我还能记得就补吧

随笔分类 -  模拟

上一页 1 2 3 4 5 下一页
2014.10.4模拟赛【某种密码】
摘要:某种密码(password.*) 关于某种密码有如下描述:某种密码的原文A是由N个数字组成,而密文B是一个长度为N的01数串,原文和密文的关联在于一个钥匙码KEY。若KEY=∑▒〖Ai*Bi〗,则密文就是原文的一组合法密码。 现在有原文和钥匙码,请编一个程序来帮助他统计到底有多少个符合条件的密文。【... 阅读全文
posted @ 2014-10-04 20:58 zhber 阅读(264) 评论(0) 推荐(0)
bzoj1689 [Usaco2005 Open] Muddy roads 泥泞的路
摘要:DescriptionFarmer John has a problem: the dirt road from his farm to town has suffered in the recent rainstorms and now contains (1 写的……感觉骚的没朋友#includ... 阅读全文
posted @ 2014-10-03 21:12 zhber 阅读(154) 评论(0) 推荐(0)
cf472C Design Tutorial: Make It Nondeterministic
摘要:C. Design Tutorial: Make It Nondeterministictime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA wa... 阅读全文
posted @ 2014-09-30 20:38 zhber 阅读(286) 评论(0) 推荐(0)
cf472B Design Tutorial: Learn from Life
摘要:B. Design Tutorial: Learn from Lifetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne way to cre... 阅读全文
posted @ 2014-09-30 20:29 zhber 阅读(309) 评论(0) 推荐(0)
cf472A Design Tutorial: Learn from Math
摘要:A. Design Tutorial: Learn from Mathtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne way to cre... 阅读全文
posted @ 2014-09-30 20:29 zhber 阅读(312) 评论(0) 推荐(0)
bzoj2018 [Usaco2009 Nov]农场技艺大赛
摘要:DescriptionInput第1行:10个空格分开的整数: N, a, b, c, d, e, f, g, h, MOutput第1行:满足总重量最轻,且用度之和最大的N头奶牛的总体重模M后的余数。Sample Input 2 0 1 5 55555555 0 1 0 55555555 5555... 阅读全文
posted @ 2014-09-27 16:59 zhber 阅读(160) 评论(0) 推荐(0)
cf471B MUH and Important Things
摘要:B. MUH and Important Thingstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt's time polar bears ... 阅读全文
posted @ 2014-09-27 13:36 zhber 阅读(265) 评论(0) 推荐(0)
cf471A MUH and Sticks
摘要:A. MUH and Stickstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo polar bears Menshykov and Us... 阅读全文
posted @ 2014-09-27 13:35 zhber 阅读(175) 评论(0) 推荐(0)
bzoj3016 [Usaco2012 Nov]Clumsy Cows
摘要:DescriptionBessie the cow is trying to type a balanced string of parentheses into her new laptop, but she is sufficiently clumsy (due to her large hoo... 阅读全文
posted @ 2014-09-26 22:50 zhber 阅读(263) 评论(0) 推荐(0)
bzoj3404 [Usaco2009 Open]Cow Digit Game又见数字游戏
摘要:Description贝茜和约翰在玩一个数字游戏.贝茜需要你帮助她.游戏一共进行了G(1≤G≤100)场.第i场游戏开始于一个正整数Ni(l≤Ni≤1,000,000).游戏规则是这样的:双方轮流操作,将当前的数字减去一个数,这个数可以是当前数字的最大数码,也可以是最小的非0数码.比如当前的数是30... 阅读全文
posted @ 2014-09-26 22:31 zhber 阅读(350) 评论(0) 推荐(0)
cf468A 24 Game
摘要:A. 24 Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle X used to play a card game calle... 阅读全文
posted @ 2014-09-22 13:21 zhber 阅读(219) 评论(0) 推荐(0)
bzoj2102 [Usaco2010 Dec]The Trough Game
摘要:DescriptionFarmer John and Bessie are playing games again. This one has to do with troughs of water. Farmer John has hidden N (1 1 trough is filled 2... 阅读全文
posted @ 2014-09-19 22:13 zhber 阅读(159) 评论(0) 推荐(0)
cf467B Fedor and New Game
摘要:B. Fedor and New Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter you had helped George ... 阅读全文
posted @ 2014-09-19 16:23 zhber 阅读(251) 评论(0) 推荐(0)
cf467A George and Accommodation
摘要:A. George and Accommodationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGeorge has recently en... 阅读全文
posted @ 2014-09-19 16:21 zhber 阅读(222) 评论(0) 推荐(0)
bzoj3715 [PA2014]Lustra
摘要:DescriptionByteasar公司专门外包生产带有镜子的衣柜。刚刚举行的招标会上,有n个工厂参加竞标。所有镜子都是长方形的,每个工厂能够制造的镜子都有其各自的最大、最小宽度和最大、最小高度。镜子不可以旋转。如果存在某家工厂满足这样的条件:其他所有工厂能够制造的镜子,它都能够制造。那么这家工厂... 阅读全文
posted @ 2014-09-18 14:21 zhber 阅读(220) 评论(0) 推荐(0)
bzoj3713 [PA2014]Iloczyn
摘要:Description斐波那契数列的定义为:k=0或1时,F[k]=k;k>1时,F[k]=F[k-1]+F[k-2]。数列的开头几项为0,1,1,2,3,5,8,13,21,34,55,…你的任务是判断给定的数字能否被表示成两个斐波那契数的乘积。Input第一行包含一个整数t(1#define i... 阅读全文
posted @ 2014-09-18 14:20 zhber 阅读(149) 评论(0) 推荐(0)
cf466A Cheap Travel
摘要:A. Cheap Traveltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAnn has recently started commuting... 阅读全文
posted @ 2014-09-13 22:06 zhber 阅读(367) 评论(0) 推荐(0)
cf452A Eevee
摘要:A. Eeveetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are solving the crossword problem K f... 阅读全文
posted @ 2014-08-16 23:11 zhber 阅读(220) 评论(0) 推荐(0)
cf459B Pashmak and Flowers
摘要:B. Pashmak and Flowerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPashmak decided to give Par... 阅读全文
posted @ 2014-08-16 21:58 zhber 阅读(249) 评论(0) 推荐(0)
cf459A Pashmak and Garden
摘要:A. Pashmak and Gardentime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPashmak has fallen in love w... 阅读全文
posted @ 2014-08-16 21:53 zhber 阅读(207) 评论(0) 推荐(0)

上一页 1 2 3 4 5 下一页