随笔分类 -  模拟

摘要:One spring day on his way to university Lesha found an array A. Lesha likes to split arrays into several parts. This time Lesha decided to split the a 阅读全文
posted @ 2017-07-24 00:58 樱花落舞 阅读(248) 评论(0) 推荐(0) 编辑
摘要:Moriarty has trapped n people in n distinct rooms in a hotel. Some rooms are locked, others are unlocked. But, there is a condition that the people in 阅读全文
posted @ 2017-07-23 00:49 樱花落舞 阅读(265) 评论(0) 推荐(0) 编辑
摘要:Sherlock has a new girlfriend (so unlike him!). Valentine's day is coming and he wants to gift her some jewelry. He bought n pieces of jewelry. The i- 阅读全文
posted @ 2017-07-23 00:17 樱花落舞 阅读(263) 评论(0) 推荐(0) 编辑
摘要:Our beloved detective, Sherlock is currently trying to catch a serial killer who kills a person each day. Using his powers of deduction, he came to kn 阅读全文
posted @ 2017-07-23 00:12 樱花落舞 阅读(262) 评论(0) 推荐(0) 编辑
摘要:There are n people taking part in auction today. The rules of auction are classical. There were n bids made, though it's not guaranteed they were from 阅读全文
posted @ 2017-07-23 00:08 樱花落舞 阅读(230) 评论(0) 推荐(0) 编辑
摘要:There are n employees in Alternative Cake Manufacturing (ACM). They are now voting on some very important question and the leading world media are try 阅读全文
posted @ 2017-07-22 23:53 樱花落舞 阅读(189) 评论(0) 推荐(0) 编辑
摘要:Bachgold problem is very easy to formulate. Given a positive integer n represent it as a sum of maximum possible number of prime numbers. One can prov 阅读全文
posted @ 2017-07-22 00:38 樱花落舞 阅读(299) 评论(0) 推荐(0) 编辑
摘要:最近,盛大计划开发一款手游,以下是简化版。系统和我方各有n 头怪兽,每一头怪兽都有生命值和攻击力,并且当怪兽A攻击怪兽B,如果怪兽B的生命值高于怪兽A的攻击力,则怪兽B的生命力减少A的攻击力的数值,否则怪兽B将死亡。我方已经通过一些手段得知了系统怪兽的出战序列,我方想要知道,我方是否可以合理安排怪兽 阅读全文
posted @ 2017-07-13 23:23 樱花落舞 阅读(276) 评论(0) 推荐(0) 编辑
摘要:时间过得好快啊,SHU计算机学院又有新的一批小朋友们进来了。2016级的同学想必也是非常喜欢计算机学院的,于是院长想测试一下大家对计算机的喜爱程度(院长大人别查我水表)。 院长给大家一行由大写字母(A-Z)和小写字母(a-z)组成的字符串,允许同学们在这个字符串里面任意挑选若干个字符,问最多可以组成 阅读全文
posted @ 2017-07-13 23:08 樱花落舞 阅读(187) 评论(0) 推荐(0) 编辑
摘要:《神无月》作为盛大游戏2017年的全新原创大作,其开发团队在自研实力强大的传世工作室基础之上,还有美树本晴彦等日本一线知名画师及日本游戏音乐大师崎元仁加盟参与制作。目前正在不限号内测中,有很多玩家进入到神无月的世界中。 在神无月中,有着玩家之间切磋的排位赛,其段位主要分为五大段位,从低到高依次为:新 阅读全文
posted @ 2017-07-13 23:05 樱花落舞 阅读(237) 评论(0) 推荐(0) 编辑
摘要:Alice and Bob got very bored during a long car trip so they decided to play a game. From the window they can see cars of different colors running past 阅读全文
posted @ 2017-07-07 23:30 樱花落舞 阅读(187) 评论(0) 推荐(0) 编辑
摘要:n children are standing in a circle and playing a game. Children's numbers in clockwise order form a permutation a1, a2, ..., an of length n. It is an 阅读全文
posted @ 2017-07-07 23:13 樱花落舞 阅读(221) 评论(0) 推荐(0) 编辑
摘要:Description The marmots have prepared a very easy problem for this year's HC2 – this one. It involves numbers n, k and a sequence of n positive intege 阅读全文
posted @ 2017-06-09 00:02 樱花落舞 阅读(250) 评论(0) 推荐(0) 编辑
摘要:Description Your search for Heidi is over – you finally found her at a library, dressed up as a human. In fact, she has spent so much time there that 阅读全文
posted @ 2017-06-08 23:59 樱花落舞 阅读(299) 评论(0) 推荐(0) 编辑
摘要:Description Sengoku still remembers the mysterious "colourful meteoroids" she discovered with Lala-chan when they were little. In particular, one of t 阅读全文
posted @ 2017-06-08 11:56 樱花落舞 阅读(263) 评论(1) 推荐(0) 编辑
摘要:Description A few years ago, Hitagi encountered a giant crab, who stole the whole of her body weight. Ever since, she tried to avoid contact with othe 阅读全文
posted @ 2017-06-08 09:30 樱花落舞 阅读(353) 评论(0) 推荐(0) 编辑
摘要:今年,百度的科学计算器进行了重大更新,可以计算更为复杂的表达式了。 定义表达式中存在加减运算、括号、函数调用、强制类型转换这几种运算。其中数值的类型有整型与浮点型两种。并且, 整型与整型加减运算的结果为整型; 整型与浮点型加减运算结果为浮点型; 浮点型与浮点型加减运算结果为浮点型。 强制类型转换符  阅读全文
posted @ 2017-05-21 21:45 樱花落舞 阅读(1176) 评论(1) 推荐(0) 编辑
摘要:Partial Sum Accepted : 124 Submit : 450 Time Limit : 3000 MS Memory Limit : 65536 KB Partial Sum Partial Sum Bobo has a integer sequence a1,a2,…,an of 阅读全文
posted @ 2017-05-18 20:19 樱花落舞 阅读(350) 评论(0) 推荐(0) 编辑
摘要:Super Resolution Accepted : 133 Submit : 203 Time Limit : 1000 MS Memory Limit : 65536 KB Super Resolution Super Resolution Bobo has an n×m picture co 阅读全文
posted @ 2017-05-18 19:39 樱花落舞 阅读(644) 评论(0) 推荐(0) 编辑
摘要:Automatic Judge Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 827 Accepted Submission(s): 284 阅读全文
posted @ 2017-05-09 16:37 樱花落舞 阅读(426) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示