
模 拟
CrossDolphin
青春看起来如此完美,没空闲去浪费时间。
展开
-
BestCoder Round #75
题目链接:戳这里King's Cake Accepts: 960 Submissions: 1572 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)问题描述阅兵式前一天,是国王的生日,大臣们为他准备了一个n×m(1≤n,m≤10000) 的蛋糕。他准备原创 2016-03-13 19:26:25 · 358 阅读 · 0 评论 -
Codeforces Round #325 (Div. 2) C 模拟
链接:戳这里C. Gennady the Dentisttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGennady is one of the best child dentists in Berlan原创 2016-07-09 19:49:04 · 317 阅读 · 0 评论 -
BestCoder Round #84 1001 hdu 5747 模拟
链接:戳这里AaronsonTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Problem DescriptionRecently, Peter saw the equation x0+2x1+4x2+...+2mxm=n. He w原创 2016-07-23 22:03:10 · 448 阅读 · 0 评论 -
Codeforces Round #318 [RussianCodeCup Thanks-Round] (Div. 2) A 模拟
链接:戳这里A. Bear and Electionstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak is a grizzly bear who desires power and adorat原创 2016-07-13 14:26:27 · 321 阅读 · 0 评论 -
Codeforces Round #318 [RussianCodeCup Thanks-Round] (Div. 2) C 模拟
链接:戳这里C. Bear and Pokertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak is an old brown bear. He often plays poker with h原创 2016-07-13 14:36:35 · 246 阅读 · 0 评论 -
Codeforces Round #316 (Div. 2) C 模拟
链接:戳这里C. Replacementtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDaniel has a string s, consisting of lowercase English let原创 2016-07-14 18:20:36 · 281 阅读 · 0 评论 -
Codeforces Round #362 (Div. 2) B 模拟
链接:戳这里B. Barnicletime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBarney is standing in a bar and starring at a pretty girl. He原创 2016-07-15 15:45:43 · 636 阅读 · 0 评论 -
Codeforces Round #362 (Div. 2) C 模拟二叉树
链接:戳这里C. Lorenzo Von Matterhorntime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBarney lives in NYC. NYC has infinite number of原创 2016-07-15 15:51:23 · 928 阅读 · 0 评论 -
Codeforces Round #315 (Div. 2) B 模拟
链接:戳这里B. Inventorytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputCompanies always have a lot of equipment, furniture and other原创 2016-07-16 15:26:18 · 598 阅读 · 0 评论 -
Codeforces Round #323 (Div. 2) B 模拟
链接:戳这里B. Robot's Tasktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRobot Doc is located in the hall, with n computers stand i原创 2016-07-08 21:09:09 · 278 阅读 · 0 评论 -
Codeforces Round #306 (Div. 2) C 模拟
链接:戳这里C. Divisibility by Eighttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a non-negative integer n, its deci原创 2016-07-19 20:16:38 · 338 阅读 · 0 评论 -
Codeforces Round #105 (Div. 2) B 模拟
链接:戳这里B. Escapetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe princess is going to escape the dragon's cave, and she needs原创 2016-07-30 13:01:47 · 283 阅读 · 0 评论 -
Educational Codeforces Round 14 C 好东西啊!!!
链接:戳这里C. Exponential notationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a positive decimal number x.You原创 2016-08-03 22:35:50 · 376 阅读 · 0 评论 -
Codeforces Round #126 (Div. 2) C 模拟
链接:戳这里C. Football Championshiptime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAny resemblance to any real championship and spo原创 2016-09-07 20:44:50 · 368 阅读 · 0 评论 -
Codeforces Round #373 (Div. 2) C 模拟
链接:戳这里C. Efim and Strange Gradetime limit per test:1 secondmemory limit per test:256 megabytesinput:standard inputoutput:standard outputEfim just received原创 2016-09-24 11:54:02 · 376 阅读 · 0 评论 -
hdu 5904 水题
链接:戳这里LCISTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem DescriptionAlex has two sequences a1,a2,...,an and b1,b2,...,bm. He w原创 2016-09-24 21:41:17 · 722 阅读 · 0 评论 -
2016百度之星 hdu 5701 模拟
链接:戳这里中位数计数Time Limit: 12000/6000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem Description中位数定义为所有值从小到大排序后排在正中间的那个数,如果值有偶数个,通常取最中间的两个数值的平均数作为中位数。现在有n个数,原创 2016-05-23 21:04:47 · 619 阅读 · 0 评论 -
2016 浙江省赛 The 13th Zhejiang Provincial Collegiate Programming Contest I题
链接:戳这里People CountingTime Limit: 2 Seconds Memory Limit: 65536 KBIn a BG (dinner gathering) for ZJU ICPC team, the coaches wanted to count the number of people present at the BG. Th原创 2016-04-23 23:14:23 · 637 阅读 · 0 评论 -
Educational Codeforces Round 9 A B C D F
链接:戳这里A. Grandma Laura and Applestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGrandma Laura came to the market to sell some apples原创 2016-03-18 22:12:27 · 701 阅读 · 0 评论 -
Codeforces Round #334 (Div. 2) B C D
B. More Cowbell题意:给定N表示铃铛的个数,和k表示箱子的个数,牛铃铛要放在箱子里运输,要求每个箱子放1个或者2个牛铃铛,且每个箱子都要放铃铛,箱子的大小相等,老板为了省钱,希望箱子越小越好( smallest ),求满足条件的箱子的尺寸。给定的n个铃铛的尺寸依次从小到大。样例:6 41 2 3 101 102 103{1 101} {2 3}原创 2016-03-16 21:14:14 · 349 阅读 · 0 评论 -
BestCoder Round #65 B C D || HDU 5591 5592 5593
B 题意:ZYB在远足中,和同学们玩了一个“数字炸弹”游戏:由主持人心里想一个在[1,N][1,N]中的数字XX,然后玩家们轮流猜一个数字,如果一个玩家恰好猜中XX则算负,否则主持人将告诉全场的人当前的数和XX比是偏大还是偏小,然后猜测的范围就会相应减小,一开始的范围是[1,N][1,N].每个玩家只能在合法的范围中猜测. 现在假设只有两个人在玩这个游戏,并且两个人都已经知道了最后的XX,若两个人原创 2016-03-16 21:10:43 · 389 阅读 · 0 评论 -
codeforces #345(div2)
链接:戳这里A. Joystickstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFriends are going to play原创 2016-03-10 21:57:33 · 608 阅读 · 0 评论 -
BestCoder 74
链接:戳这里A:LCP Array题意:给定一个字符串s=s1s2s3s4...s5,si代表字符(小写字母),知道任意两个相邻的后缀的最长公共前缀长度为一个整数ai,这个意思就是相邻字符相等的个数为ai。问满足该字符串s的种数。思路:样例43 2 1aaaa aaa aa a显然这样的字符串必须是 aaaa (26字符任意一个) 才能满足原创 2016-03-07 16:57:51 · 301 阅读 · 0 评论 -
Codeforces Round #346 (Div. 2) A B C D E
链接:戳这里A. Round Housetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya lives in a round building, whose entrances are number原创 2016-03-31 19:05:56 · 962 阅读 · 0 评论 -
Codeforces Round #343 (Div. 2) A B C D
链接:戳这里A. Far Relative’s Birthday Caketime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDoor's family is going celebrate Famil Doors's原创 2016-03-20 22:05:25 · 713 阅读 · 0 评论 -
IndiaHacks 2016 - Online Edition (Div. 1 + Div. 2) A B C
链接:戳这里A. Bear and Three Ballstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak is a little polar bear. He has n balls, the i-t原创 2016-03-21 22:11:39 · 1317 阅读 · 0 评论 -
VK Cup 2016 - Round 1 (Div. 2 Edition) A B
链接:戳这里A. Bear and Reverse Radewooshtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak and Radewoosh are going to compete ag原创 2016-04-05 16:23:18 · 451 阅读 · 0 评论 -
VK Cup 2016 - Round 1 (Div. 2 Edition) C D
链接:戳这里C. Bear and Forgotten Tree 3time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA tree is a connected undirected graph consi原创 2016-04-06 23:09:19 · 394 阅读 · 0 评论 -
2016 [Offer收割]编程练习赛3 A B
链接:戳这里#1283 : hiho密码时间限制:10000ms单点时限:1000ms内存限制:256MB描述小Ho根据最近在密码学课上学习到的知识,开发出了一款hiho密码,这款密码的秘钥是这样生成的:对于一种有N个字母的语言,选择一个长度为M的单词;将组成这个单词的所有字母按照顺序不重复的写出(即遇到相同字母时跳过);然后将字母表剩下的没有使用过的字母按原创 2016-03-27 19:53:26 · 625 阅读 · 0 评论 -
Codeforces Round #348 (VK Cup 2016 Round 2, Div. 2 Edition) A B C D 模拟
链接:戳这里A. Little Artem and Presentstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Artem got n stones on his birthday and原创 2016-04-25 23:02:34 · 838252 阅读 · 0 评论 -
BestCoder Round #79 (div.2) 1001 1004 HDU 5663 Hillan and the girl
链接:戳这里jrMz and angles Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)问题描述jrMz有两种角,第一种角都是正nn边形的内角,第二种角都是正mm边形的内角。jrMz想选出其中一些,某种角可以选多个或一个都不选,使得选出的所原创 2016-04-09 22:04:29 · 635 阅读 · 0 评论 -
广东工业大学2016校赛 Problem E: 积木积水
链接:戳这里Problem E: 积木积水Description现有一堆边长为1的已经放置好的积木,小明(对的,你没看错,的确是陪伴我们成长的那个小明)想知道当下雨天来时会有多少积水。小明又是如此地喜欢二次元,于是他把这个三维的现实问题简化成二维的问题。设雨量无穷、积木不透水、积木间无缝连接,问在这个二次元的世界里,已放置好的积木会有多少单位的积水量?I原创 2016-04-10 22:12:09 · 712 阅读 · 0 评论 -
BestCoder Round #81 (div.1) A B hdu5571 hdu 5572
链接:戳这里Matrix Time Limit: 3000/1500 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)问题描述有一个nn行mm列的矩阵(1≤n≤1000,1≤m≤1000),在这个矩阵上进行q(1≤q≤100,000) 个操作:1 x y: 交换矩阵M的第x行和第y原创 2016-04-22 22:42:56 · 448 阅读 · 0 评论 -
hdu 5908 模拟
链接:戳这里Abelian PeriodTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/131072 K (Java/Others)Problem DescriptionLet S be a number string, and occ(S,x) means the times原创 2016-10-05 14:29:49 · 465 阅读 · 0 评论