
ZOJ
文章平均质量分 84
Wang_128
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ZOJ1047-Image Perimeters
Image PerimetersTime Limit: 2 Seconds Memory Limit: 65536 KBTechnicians in a pathology lab analyze digitized images of slides. Objects on a slide are selected for analysis by a mouse cl原创 2016-05-08 15:50:48 · 508 阅读 · 0 评论 -
ZOJ3322-Who is Older?
Who is Older?Time Limit: 1 Second Memory Limit: 32768 KBJavaman and cpcs are arguing who is older. Write a program to help them.InputThere are multiple test cases. The first line of原创 2017-02-03 22:34:32 · 478 阅读 · 0 评论 -
ZOJ3323-Somali Pirates
Somali PiratesTime Limit: 1 Second Memory Limit: 32768 KBIt is said that the famous Somali Pirates hate digits. So their QQ passwords never contain any digit. Given some lines of candid原创 2017-02-03 22:37:47 · 460 阅读 · 0 评论 -
ZOJ3333-Guess the Price
Guess the PriceTime Limit: 1 Second Memory Limit: 32768 KBIn the television program "Shopping Street" of CCTV-2, two people, A and B are guessing price of a given item. You are asked to原创 2017-02-03 22:40:52 · 321 阅读 · 0 评论 -
ZOJ3326-An Awful Problem
An Awful ProblemTime Limit: 1 Second Memory Limit: 32768 KBIn order to encourage Hiqivenfin to study math, his mother gave him a sweet candy when the day of the month was a prime number原创 2017-02-03 22:45:55 · 288 阅读 · 0 评论 -
ZOJ3328-Wu Xing
Wu XingTime Limit: 1 Second Memory Limit: 32768 KBIntroductionThe Wu Xing, or the Five Movements, Five Phases or Five Steps/Stages, are chiefly an ancient mnemonic device, in many tra原创 2017-02-03 22:57:58 · 504 阅读 · 0 评论 -
ZOJ3332-Strange Country II
Strange Country IITime Limit: 1 Second Memory Limit: 32768 KB Special JudgeYou want to visit a strange country. There are n cities in the country. Cities are numbered from 1 to n.原创 2017-02-03 23:04:09 · 308 阅读 · 0 评论 -
ZOJ3329-One Person Game
One Person GameTime Limit: 1 Second Memory Limit: 32768 KB Special JudgeThere is a very simple and interesting one-person game. You have 3 dice, namely Die1, Die2 and Die3. Die1 ha原创 2017-02-03 23:14:37 · 530 阅读 · 0 评论 -
ZOJ3610-Yet Another Story of Rock-paper-scissors
Yet Another Story of Rock-paper-scissorsTime Limit: 2 Seconds Memory Limit: 65536 KBAkihisa and Hideyoshi were lovers. They were sentenced to death by the FFF Inquisition. Ryou, the lea原创 2017-02-26 19:54:53 · 514 阅读 · 0 评论 -
ZOJ3607-Lazier Salesgirl
Lazier SalesgirlTime Limit: 2 Seconds Memory Limit: 65536 KBKochiya Sanae is a lazy girl who makes and sells bread. She is an expert at bread making and selling. She can sell the i-th c原创 2017-02-26 20:34:04 · 444 阅读 · 0 评论 -
ZOJ3605-Find the Marble
Find the MarbleTime Limit: 2 Seconds Memory Limit: 65536 KBAlice and Bob are playing a game. This game is played with several identical pots and one marble. When the game starts, Alice原创 2017-02-26 20:41:26 · 354 阅读 · 0 评论 -
ZOJ3487-Ordinal Numbers
A - Ordinal NumbersTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3487DescriptionOrdinal numbers refer to a position in a seri原创 2016-04-21 17:45:50 · 719 阅读 · 0 评论 -
ZOJ3499-Median
J - MedianTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3499DescriptionA median is described as the numeric value separatin原创 2016-04-21 18:04:46 · 568 阅读 · 0 评论 -
ZOJ3490-String Successor
C - String SuccessorTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3490DescriptionThe successor to a string can be calculate原创 2016-04-21 17:55:08 · 565 阅读 · 0 评论 -
ZOJ3492-Kagome Kagome
D - Kagome KagomeTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3492DescriptionKagome kagome, kago no naka no tori waItsu原创 2016-04-21 17:58:51 · 841 阅读 · 0 评论 -
ZOJ3696-Alien's Organ(泊松分布)
Alien's OrganTime Limit: 2 Seconds Memory Limit: 65536 KBThere's an alien whose name is Marjar. It is an universal solder came from planet Highrich a long time ago.Marjar is a strange原创 2017-04-06 23:58:20 · 565 阅读 · 0 评论 -
ZOJ3700-Ever Dream
Ever DreamTime Limit: 2 Seconds Memory Limit: 65536 KB"Ever Dream" played by Nightwish is my favorite metal music. The lyric (see Sample Input) of this song is much more like a poem.原创 2017-04-07 00:30:15 · 418 阅读 · 0 评论 -
ZOJ3699-Dakar Rally
Dakar RallyTime Limit: 2 Seconds Memory Limit: 65536 KBDescriptionThe Dakar Rally is an annual Dakar Series rally raid type of off-road race, organized by the Amaury Sport Organizatio原创 2017-04-07 00:37:10 · 479 阅读 · 0 评论 -
ZOJ1516-Uncle Tom's Inherited Land
Uncle Tom's Inherited LandTime Limit: 2 Seconds Memory Limit: 65536 KBYour old uncle Tom inherited a piece of land from his great-great-uncle. Originally, the property had been in the s原创 2017-03-12 13:34:52 · 559 阅读 · 0 评论 -
HDU1045&&ZOJ1002-Fire Net
Fire NetTime Limit: 2 Seconds Memory Limit: 65536 KBSuppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each represent原创 2016-05-01 20:01:47 · 1494 阅读 · 0 评论 -
ZOJ1137&&POJ1466-Girls and Boys
Girls and BoysTime Limit: 10 Seconds Memory Limit: 32768 KBthe second year of the university somebody started a study on the romantic relations between the students. The relation ��roma原创 2017-03-12 14:17:40 · 574 阅读 · 0 评论 -
ZOJ3704-I am Nexus Master!
I am Nexus Master!Time Limit: 2 Seconds Memory Limit: 65536 KBNexusHD.org is a popular PT (Private Tracker) site in Zhejiang University aiming to provide high quality stuff. In order to原创 2017-04-07 00:52:48 · 353 阅读 · 0 评论 -
ZOJ3703-Happy Programming Contest
Happy Programming ContestTime Limit: 2 Seconds Memory Limit: 65536 KBIn Zhejiang University Programming Contest, a team is called "couple team" if it consists of only two students lovin原创 2017-04-07 00:43:19 · 390 阅读 · 0 评论 -
ZOJ1525&&POJ1422&&HDU1151-Air Raid
Air RaidTime Limit: 2 Seconds Memory Limit: 65536 KBConsider a town where all the streets are one-way and each street leads from one intersection to another. It is also known that start原创 2017-03-12 15:16:18 · 374 阅读 · 0 评论 -
ZOJ3776-Problem Arrangement
Problem ArrangementTime Limit: 2 Seconds Memory Limit: 65536 KBThe 11th Zhejiang Provincial Collegiate Programming Contest is coming! As a problem setter, Edward is going to arrange the原创 2017-04-07 17:14:48 · 446 阅读 · 0 评论 -
ZOJ3778-Talented Chef
Talented ChefTime Limit: 2 Seconds Memory Limit: 65536 KBAs we all know, Coach Gao is a talented chef, because he is able to cook M dishes in the same time. Tonight he is going to have原创 2017-04-07 17:23:19 · 356 阅读 · 0 评论 -
ZOJ3780-Paint the Grid Again
Paint the Grid AgainTime Limit: 2 Seconds Memory Limit: 65536 KBLeo has a grid with N × N cells. He wants to paint each cell with a specific color (either black or white).Leo has a ma原创 2017-04-07 17:35:34 · 358 阅读 · 0 评论 -
ZOJ3781-Paint the Grid Reloaded(缩点+bfs)
Paint the Grid ReloadedTime Limit: 2 Seconds Memory Limit: 65536 KBLeo has a grid with N rows and M columns. All cells are painted with either black or white initially.Two cells A and原创 2017-04-07 17:39:58 · 394 阅读 · 0 评论 -
ZOJ3776-Pokemon Master
Pokemon MasterTime Limit: 2 Seconds Memory Limit: 65536 KBCalem and Serena are pokemon masters. One day they decided to have a pokemon battle practice before Pokemon World Championships原创 2017-04-07 17:42:38 · 390 阅读 · 0 评论 -
ZOJ3782-Ternary Calculation
Ternary CalculationTime Limit: 2 Seconds Memory Limit: 65536 KBComplete the ternary calculation.InputThere are multiple test cases. The first line of input contains an integer T ind原创 2017-04-07 17:44:43 · 378 阅读 · 0 评论 -
ZOJ3785-What day is that day?
What day is that day?Time Limit: 2 Seconds Memory Limit: 65536 KBIt's Saturday today, what day is it after 11 + 22 + 33 + ... + NN days?InputThere are multiple test cases. The first原创 2017-04-07 17:48:19 · 484 阅读 · 0 评论 -
ZOJ3787-Access System
Access SystemTime Limit: 2 Seconds Memory Limit: 65536 KBFor security issues, Marjar University has an access control system for each dormitory building.The system requires the students原创 2017-04-07 17:52:05 · 436 阅读 · 0 评论 -
ZOJ1654-Place the Robots(二分图匹配)
Place the RobotsTime Limit: 5 Seconds Memory Limit: 32768 KBRobert is a famous engineer. One day he was given a task by his boss. The background of the task was the following:Given原创 2017-03-11 23:52:02 · 643 阅读 · 0 评论 -
ZOJ1140&&POJ1469&&HDU1083-Courses
CoursesTime Limit: 10 Seconds Memory Limit: 32768 KBConsider a group of N students and P courses. Each student visits zero, one or more than one courses. Your task is to determine wheth原创 2017-03-12 13:03:37 · 570 阅读 · 0 评论 -
ZOJ3331-Process the Tasks(双塔DP)
Process the TasksTime Limit: 1 Second Memory Limit: 32768 KBThere are two machines A and B. There are n tasks, namely task 1, task 2, ..., task n. You must assign each task to one machi原创 2017-02-03 23:28:47 · 393 阅读 · 0 评论 -
ZOJ3498-Javabeans
I - JavabeansTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3498DescriptionJavabeans are delicious. Javaman likes to eat jav原创 2016-04-21 18:02:53 · 551 阅读 · 0 评论 -
ZOJ3600-Taxi Fare
Taxi FareTime Limit: 2 Seconds Memory Limit: 65536 KBLast September, Hangzhou raised the taxi fares.The original flag-down fare in Hangzhou was 10 yuan, plusing 2 yuan per kilometer a原创 2017-02-26 19:47:34 · 326 阅读 · 0 评论 -
ZOJ3601-Unrequited Love
Unrequited LoveTime Limit: 16 Seconds Memory Limit: 131072 KBThere are n single boys and m single girls. Each of them may love none, one or several of other people unrequitedly and one-原创 2017-02-26 21:08:21 · 491 阅读 · 0 评论 -
ZOJ3603-Draw Something Cheat
Draw Something CheatTime Limit: 2 Seconds Memory Limit: 65536 KBHave you played Draw Something? It's currently one of the hottest social drawing games on Apple iOS and Android Devices!原创 2017-02-26 20:24:32 · 328 阅读 · 0 评论 -
ZOJ3488-Conic Section
B - Conic SectionTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3488DescriptionThe conic sections are the nondegenerate curves原创 2016-04-21 17:52:26 · 564 阅读 · 0 评论