
----模拟
文章平均质量分 83
_Occult_
物語が始まった
展开
-
CSU 1565 Word Cloud
A word cloud (or tag cloud) is a visual representation of textual data based on a weighted metric. In the above cloud (which is based on this year's list of Mid-Central teams), the font size of each w原创 2017-07-29 19:46:50 · 304 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1051 Pop Sequence (25)
1051. Pop Sequence (25)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a stack which can keep M numbers at mos原创 2016-03-11 19:31:37 · 357 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1035 Password (20)
1035. Password (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueTo prepare for PAT, the judge sometimes has to ge原创 2016-03-11 13:02:02 · 402 阅读 · 0 评论 -
HDU 1329 Hanoi Tower Troubles Again!
DescriptionPeople stopped moving discs from peg to peg after they know the number of steps needed to complete the entire task. But on the other hand, they didn't not stopped thinking about similar原创 2016-02-23 17:07:41 · 704 阅读 · 0 评论 -
HUST 1603 Deadly Disease
题目描述Queen of honey was deeply shocked when she heard the news that some rooms in her honeycomb is infected with serious virus. To make things worse, each infected room will infect all the rooms whic原创 2016-03-06 19:54:31 · 360 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1032 Sharing (25)
1032. Sharing (25)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueTo store English words, one method is to use linke原创 2016-03-06 11:37:55 · 384 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1026 Table Tennis (30)
1026. Table Tennis (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA table tennis club has N tables available to原创 2016-03-05 17:10:44 · 667 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1025 PAT Ranking (25)
1025. PAT Ranking (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueProgramming Ability Test (PAT) is organized by原创 2016-03-05 13:26:55 · 472 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1023 Have Fun with Numbers (20)
1023. Have Fun with Numbers (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueNotice that the number 123456789 is原创 2016-03-05 00:00:35 · 502 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1017 Queueing at Bank (25)
1017. Queueing at Bank (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose a bank has K windows open for ser原创 2016-03-04 18:54:13 · 650 阅读 · 0 评论 -
HDU 5689 Problem E
Problem Description小度熊是一个尽职尽责的程序熊,每天产出数千行的代码,代码当中存在很多判断条件。度熊想让自己代码中的这些条件不存在交集。为了简化问题,一个条件可以是一个『简单条件』或者是一个『复合条件』,简单条件由『变量』、『比较符』和『运算数』组成,其中『变量』是用小写字符表示的一串字符,『运算数』仅为整数,『运算符』包括:、=、==。分别代表:小于、大于、小于等于、原创 2016-05-16 13:49:13 · 808 阅读 · 0 评论 -
ZOJ 3938 Defuse the Bomb
Defuse the BombTime Limit: 2 Seconds Memory Limit: 65536 KBThe bomb is about to explode! Please defuse it as soon as possible!There is a display showing a number from 1 to 4 on the bomb原创 2016-04-24 00:03:31 · 592 阅读 · 0 评论 -
CSU 1561 (More) Multiplication
Educators are always coming up with new ways to teach math to students. In 2011, an educational software company, All Computer Math (ACM), developed an application to display products in a traditional原创 2017-07-29 19:37:54 · 334 阅读 · 0 评论 -
ZOJ 2208 To and Fro
Mo and Larry have devised a way of encrypting messages. They first decide secretly on the number of columns and write the message (letters only) down the columns, padding with extra random letters so原创 2017-04-16 22:43:28 · 308 阅读 · 0 评论 -
URAL 1993 This cheeseburger you don't need
Yoda: May the Force be with you.Master Yoda is the oldest member of the Jedi Council. He conducts preparatory classes of little Younglings up to the moment they get a mentor. All Younglings ad原创 2017-04-16 22:37:36 · 325 阅读 · 0 评论 -
CodeForces 141C 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 ai — how many原创 2017-03-02 12:28:08 · 408 阅读 · 0 评论 -
ZOJ 3326 An Awful Problem
DescriptionIn order to encourage Hiqivenfin to study math, his mother gave him a sweet candy when the day of the month was a prime number. Hiqivenfin was happy with that. But several days later, h原创 2015-02-18 15:05:20 · 484 阅读 · 0 评论 -
ZOJ 3490 String Successor
DescriptionThe successor to a string can be calculated by applying the following rules:Ignore the nonalphanumerics unless there are no alphanumerics, in this case, increase the rightmost chara原创 2015-02-18 15:01:27 · 405 阅读 · 0 评论 -
ZOJ 2971 Give Me the Number
Numbers in English are written down in the following way (only numbers less than 109are considered). Number abc,def,ghi is written as "[abc] million [def] thousand [ghi]". Here "[xyz] " means the wr原创 2017-02-17 21:28:45 · 269 阅读 · 0 评论 -
HDU 2091 空心三角形
Problem Description把一个字符三角形掏空,就能节省材料成本,减轻重量,但关键是为了追求另一种视觉效果。在设计的过程中,需要给出各种花纹的材料和大小尺寸的三角形样板,通过电脑临时做出来,以便看看效果。 Input每行包含一个字符和一个整数n(0 Output每个样板三角形之间应空上一行,三角形的中间为空。显然行原创 2016-08-10 17:05:18 · 417 阅读 · 0 评论 -
POJ 3087 Shuffle'm Up
DescriptionA common pastime for poker players at a poker table is to shuffle stacks of chips. Shuffling chips is performed by starting with two stacks of poker chips, S1 and S2, each stack conta原创 2016-08-27 19:38:10 · 395 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1016 Phone Bills (25)
1016. Phone Bills (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA long-distance telephone company charges its原创 2016-03-04 18:35:40 · 714 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1014 Waiting in Line (30)
1014. Waiting in Line (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose a bank has N windows open for serv原创 2016-03-03 23:26:26 · 857 阅读 · 0 评论 -
ZOJ 3770 Ranking System
DescriptionFew weeks ago, a famous software company has upgraded its instant messaging software. A ranking system was released for user groups. Each member of a group has a level placed near his n原创 2015-03-10 13:09:38 · 460 阅读 · 0 评论 -
ZOJ 3704 I am Nexus Master!
DescriptionNexusHD.org is a popular PT (Private Tracker) site in Zhejiang University aiming to provide high quality stuff. In order to encourage users to unload more stuff, the administrators make原创 2015-03-10 20:18:08 · 439 阅读 · 0 评论 -
ZOJ 3804 YY's Minions
DescriptionDespite YY's so much homework, she would like to take some time to play with her minions first.YY lines her minions up to an N*M matrix. Every minion has two statuses: awake or asleep原创 2015-03-10 20:21:07 · 410 阅读 · 0 评论 -
HDU 1866 A + B forever!
Problem DescriptionAs always, A + B is the necessary problem of this warming-up contest. But the patterns and contents are different from the previous ones. Now I come up with a new “A + B” proble原创 2015-03-31 21:30:02 · 602 阅读 · 0 评论 -
HDU 5200 Trees
Problem DescriptionToday CodeFamer is going to cut trees.There are N trees standing in a line. They are numbered from 1 to N. The tree numbered i has height hi. We say that two uncutted tr原创 2015-04-05 01:33:06 · 530 阅读 · 0 评论 -
HDU 4018 Parsing URL
Problem DescriptionIn computing, a Uniform Resource Locator or Universal Resource Locator (URL) is a character string that specifies where a known resource is available on the Internet and the mec原创 2015-04-22 17:21:57 · 528 阅读 · 0 评论 -
POJ 1350 Cabric Number Problem
DescriptionIf we input a number formed by 4 digits and these digits are not all of one same value, then it obeys the following law. Let us operate the number in the following way: (1) Arrange原创 2015-04-18 11:04:10 · 483 阅读 · 0 评论 -
POJ 1786 Bridge Hands
DescriptionDrivers of Advanced Cargo Movement, Ltd. usually have to wait quite a long time when waiting at border crossings for duty clearance. They are used to play various (card) games to have原创 2015-04-18 11:05:32 · 579 阅读 · 0 评论 -
POJ 2271 HTML
DescriptionIf you ever tried to read a html document on a Macintosh, you know how hard it is if no Netscape is installed. Now, who can forget to install a HTML browser? This is very easy becau原创 2015-04-23 23:25:17 · 427 阅读 · 0 评论 -
ZOJ 3702 Gibonacci number
DescriptionIn mathematical terms, the normal sequence F(n) of Fibonacci numbers is defined by the recurrence relationF(n)=F(n-1)+F(n-2)with seed valuesF(0)=1, F(1)=1In this Gibonacci numbe原创 2015-03-10 20:24:26 · 349 阅读 · 0 评论 -
ZOJ 3212 K-Nice
DescriptionThis is a super simple problem. The description is simple, the solution is simple. If you believe so, just read it on. Or if you don't, just pretend that you can't see this one.We say原创 2015-02-25 00:20:20 · 937 阅读 · 0 评论 -
HUST 1339 Reversal
DescriptionYou will get line with some words(only lowercase and uppercase, no other characters), input it and make all the word reversal and output.InputThe first line is a number T me原创 2016-02-02 18:05:19 · 307 阅读 · 0 评论 -
UESTC 1270 Playfair
DescriptionPlayfair is a kind of substitution cipher.And the encryption role is simple.In general,there are three steps in Playfair algorithm.Step 1: Creat a 5*5 secret key table.Step 2:Tidy p原创 2016-02-02 17:39:08 · 446 阅读 · 0 评论 -
HDU 5565 Clarke and baton
Problem DescriptionClarke is a patient with multiple personality disorder. One day, Clarke split into nn guys, named 11 to nn.They will play a game called Lose Weight. Each of Clarkes has a we原创 2015-11-29 23:02:03 · 357 阅读 · 0 评论 -
HDU 5387 Clock
Problem DescriptionGive a time.(hh:mm:ss),you should answer the angle between any two of the minute.hour.second handNotice that the answer must be not more 180 and not less than 0 Inpu原创 2015-08-13 21:49:45 · 496 阅读 · 0 评论 -
HDU 5373 The shortest problem
Problem DescriptionIn this problem, we should solve an interesting game. At first, we have an integer n, then we begin to make some funny change. We sum up every digit of the n, then insert it to原创 2015-08-11 19:56:14 · 462 阅读 · 0 评论 -
HDU 5276 YJC tricks time
Problem DescriptionYJC received a mysterious present. It's a clock and it looks like this. YJC is not a timelord so he can't trick time but the clock is so hard to read. So he'd like to原创 2015-07-18 23:35:02 · 682 阅读 · 0 评论