
模拟
文章平均质量分 72
Calm微笑
若不是终点,请微笑向前!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ZZULI 1190 Faulty Odometer
E - ETime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionYou are given a car odometer which displays the miles traveled as an inte原创 2017-03-15 22:06:52 · 506 阅读 · 0 评论 -
LightOJ 1006 - Hex-a-bonacci
1006 - Hex-a-bonacci PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBGiven a code (not optimized), and necessary inputs, you h原创 2016-09-06 17:18:34 · 362 阅读 · 0 评论 -
CodeForces 557A Ilya and Diplomas
A. Ilya and Diplomastime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSoon a school Olympiad in Informatics w原创 2016-09-14 18:19:47 · 358 阅读 · 0 评论 -
ZZULIOJ 1874: 蛤玮学计网
1874: 蛤玮学计网Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 1124 Solved: 176SubmitStatusWeb BoardDescription蛤玮最近学习了关于ip的知识,于是他迫不及待的想把新知识传授给她的妹子.蛤玮的妹子随便写下了一个字符串,蛤玮现在要告诉她这个字符串是不是一个合法的原创 2016-08-11 18:26:22 · 598 阅读 · 0 评论 -
ZZULIOJ 1878: 蛤玮准备礼物
1878: 蛤玮准备礼物Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 850 Solved: 138SubmitStatusWeb BoardDescription蛤玮的妹子要过生日了,经过千挑万选,蛤玮决定给妹子买一盒水彩铅笔,然而卖多少个才合适呢.机智的蛤玮决定数一数今天是妹子出生原创 2016-08-11 17:02:30 · 437 阅读 · 0 评论 -
ZZULIOJ 1913: 小火山的计算能力
1913: 小火山的计算能力Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 443 Solved: 106SubmitStatusWeb BoardDescription别人说小火山的计算能力不行,小火山很生气,于是他想证明自己,现在有一个表达式,他想计算出来。Input首先是一个t(1Ou原创 2016-08-10 19:14:01 · 310 阅读 · 0 评论 -
CodeForces 686B Little Robber Girl's Zoo
B. Little Robber Girl's Zootime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Robber Girl likes to sca原创 2016-08-18 20:07:08 · 371 阅读 · 0 评论 -
CodeForces 686A Free Ice Cream
A. Free Ice Creamtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter their adventure with the magic mirr原创 2016-08-18 19:23:48 · 682 阅读 · 0 评论 -
CodeForces 705C Thor (模拟)
C. Thortime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThor is getting used to the Earth. As a gift Loki g原创 2016-08-18 11:17:59 · 605 阅读 · 0 评论 -
CodeForces 612B HDD is Outdated Technology
J - HDD is Outdated TechnologyTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionHDD hard drives group data by sectors. All files原创 2016-07-21 17:58:01 · 371 阅读 · 0 评论 -
CodeForces 599B Spongebob and Joke
K - Spongebob and JokeTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionWhile Patrick was gone shopping, Spongebob decided to pla原创 2016-07-21 17:45:45 · 349 阅读 · 0 评论 -
CodeForces 580B Kefa and Company
L - Kefa and CompanyTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionKefa wants to celebrate his first big salary by going to re原创 2016-07-21 17:52:47 · 597 阅读 · 0 评论 -
CodeForces 500A New Year Transportation
E - New Year TransportationTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 500AAppoint description: System Crawler (Jul原创 2016-07-20 17:07:30 · 599 阅读 · 0 评论 -
CodeForces 368B Sereja and Suffixes
I - Sereja and SuffixesTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionSereja has an array a, consisting of n integers a1, a2原创 2016-10-09 14:18:34 · 400 阅读 · 0 评论 -
CodeForces 723B Text Document Analysis
B. Text Document Analysistime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputModern text editors usually show s原创 2016-10-23 16:15:38 · 274 阅读 · 0 评论 -
51 Nod 1289 大鱼吃小鱼(栈,模拟)
有N条鱼每条鱼的位置及大小均不同,他们沿着X轴游动,有的向左,有的向右。游动的速度是一样的,两条鱼相遇大鱼会吃掉小鱼。从左到右给出每条鱼的大小和游动的方向(0表示向左,1表示向右)。问足够长的时间之后,能剩下多少条鱼?Input第1行:1个数N,表示鱼的数量(1 <= N <= 100000)。第2 - N + 1行:每行两个数A[i], B[i],中间用空格分隔,分原创 2017-01-20 16:01:17 · 434 阅读 · 0 评论 -
CodeForces 746D Green and Black Tea
D. Green and Black Teatime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputInnokentiy likes tea very much and to原创 2016-12-20 16:01:25 · 556 阅读 · 0 评论 -
CodeForces 746C Tram
C. Tramtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe tram in Berland goes along a straight line from原创 2016-12-20 14:49:21 · 533 阅读 · 0 评论 -
CodeForces 746B Decoding
B. Decodingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp is mad about coding, that is why he wri原创 2016-12-18 21:28:34 · 730 阅读 · 0 评论 -
CodeForces 745B Hongcow Solves A Puzzle
B. Hongcow Solves A Puzzletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHongcow likes solving puzzles.原创 2016-12-18 17:57:40 · 617 阅读 · 0 评论 -
CodeForces 141C Queue
Queue In the Main Berland Bank n people stand in a queue at the cashier, everyone knows his/her height hi, and the heights of the other people in the queue. Each of them keeps in mind number a原创 2016-12-07 22:29:35 · 447 阅读 · 0 评论 -
CodeForces 246B Increase and Decrease
Increase and DecreasePolycarpus has an array, consisting of n integers a1, a2, ..., an. Polycarpus likes it when numbers in an array match. That's why he wants the array to have as many equal nu原创 2016-12-06 21:40:40 · 383 阅读 · 0 评论 -
CodeForces 246A Buggy Sorting
Buggy Sorting Little boy Valera studies an algorithm of sorting an integer array. After studying the theory, he went on to the practical tasks. As a result, he wrote a program that sorts an arra原创 2016-12-06 21:35:56 · 314 阅读 · 0 评论 -
CodeForces 141B Hopscotch
Hopscotch So nearly half of the winter is over and Maria is dreaming about summer. She's fed up with skates and sleds, she was dreaming about Hopscotch all night long. It's a very popular childr原创 2016-12-06 21:31:00 · 586 阅读 · 0 评论 -
CodeForcse 445A DZY Loves Chessboard
A. DZY Loves Chessboardtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDZY loves chessboard, and he enjoys原创 2016-10-29 17:39:43 · 284 阅读 · 0 评论 -
CodeForces 733B Parade
B. Paradetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVery soon there will be a parade of victory over a原创 2016-11-06 13:43:46 · 422 阅读 · 0 评论 -
LightOj 1414 1414 - February 29
1414 - February 29 PDF (English)StatisticsForumTime Limit: 1 second(s)Memory Limit: 32 MBIt is 2012, and it's a leap year. So there is a "February 29"原创 2016-11-04 20:48:07 · 600 阅读 · 0 评论 -
HDU 5646 DZY Loves Partition
DZY Loves PartitionTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 1430 Accepted Submission(s): 539Problem DescriptionDZY loves原创 2016-07-20 15:17:45 · 860 阅读 · 0 评论 -
ZZULIOJ 1791 旋转矩阵
1791: 旋转矩阵Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 284 Solved: 123SubmitStatusWeb BoardDescription给出一个矩阵,输出顺时针旋转90度后的矩阵。Input单实例测试。输入第一行是一个整数n(0 Output原创 2016-07-19 19:58:55 · 746 阅读 · 0 评论 -
CodeForces 351 B Problems for Round
I - Problems for RoundTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThere are n problems prepared for the next Codeforces rou原创 2016-05-28 23:52:48 · 540 阅读 · 0 评论 -
CodeForces 75A .Life Without Zeros
A. Life Without Zerostime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputCan you imagine our life if we remove原创 2016-05-14 23:02:52 · 689 阅读 · 0 评论 -
CodeForces 673 A Bear and Game
H - Bear and GameTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionBear Limak likes watching sports on TV. He is going to watch a原创 2016-05-26 17:31:02 · 413 阅读 · 0 评论 -
CodeForces 651B Beautiful Paintings
D - Beautiful PaintingsTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThere are n pictures delivered for the new exhibition. T原创 2016-05-25 21:31:13 · 645 阅读 · 0 评论 -
CodeForce 651 A Joysticks
C - JoysticksTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionFriends are going to play console. They have two joysticks and onl原创 2016-05-25 20:53:50 · 338 阅读 · 0 评论 -
CodeForces 670A Holidays
K - HolidaysTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionOn the planet Mars a year lasts exactly n days (there are no leap y原创 2016-05-24 19:00:48 · 430 阅读 · 0 评论 -
HDU Reorder the Books
Reorder the Books Time Limit : 4000/2000ms (Java/Other) Memory Limit : 131072/131072K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 1Problem Descriptiondxy has a collection原创 2016-04-05 13:55:17 · 311 阅读 · 0 评论 -
HDU Eddy's 洗牌问题 (模拟)
Eddy's 洗牌问题 Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 1Problem DescriptionEddy是个ACMer,他不仅喜欢做ACM题,而且对于纸牌原创 2016-04-06 22:08:00 · 829 阅读 · 0 评论 -
HDU 1034 Candy Sharing Game
Candy Sharing Game Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 2 Accepted Submission(s) : 1Problem DescriptionA number of students s原创 2016-04-07 21:25:42 · 303 阅读 · 0 评论 -
HDU 1276 士兵队列训练问题
士兵队列训练问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5441 Accepted Submission(s): 2508Problem Description某部队进行新兵队列训练,将新兵从一开始按顺原创 2016-03-09 22:18:48 · 628 阅读 · 0 评论 -
ZOJ 3878 Convert QWERTY to Dvorak
Convert QWERTY to DvorakTime Limit: 2 Seconds Memory Limit: 65536 KB Edward, a poor copy typist, is a user of the Dvorak Layout. But now he has only a QWERTY Keyboard with a brokenCap原创 2016-03-20 12:22:52 · 377 阅读 · 0 评论