ZOJ
文章平均质量分 84
Puya
人生不设限 没有不可能
展开
-
ZOJ 1259
RailsTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThere is a famous railway station in PopPush City. Country there is incredi原创 2016-03-26 22:23:29 · 801 阅读 · 0 评论 -
ZOJ 3212 K-Nice【】
K-NiceTime Limit: 1 Second Memory Limit: 32768 KB Special JudgeThis is a super simple problem. The description is simple, the solution is simple. If you believe so, just read it on原创 2017-02-15 22:11:38 · 319 阅读 · 0 评论 -
ZOJ 3328 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 tradi原创 2017-02-03 20:59:24 · 346 阅读 · 0 评论 -
ZOJ 3332 Strange Country II【DFS】
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 21:49:45 · 363 阅读 · 0 评论 -
ZOJ - 3778 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 a原创 2017-03-17 17:51:25 · 333 阅读 · 0 评论 -
ZOJ - 3785 What day is that day?【打表】
ZOJ Problem Set - 3785What 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 multip原创 2017-03-17 17:54:32 · 482 阅读 · 0 评论 -
ZOJ - 3777 Problem Arrangement 【状压dp】
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 o原创 2017-03-20 17:13:40 · 523 阅读 · 0 评论 -
ZOJ 3782 Ternary Calculation【】
G - Ternary Calculation ZOJ - 3782 #include#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace s原创 2017-03-16 19:45:39 · 296 阅读 · 0 评论 -
ZOJ - 3787 Access System 【】
Access System ZOJ - 3787 #include#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;#define re原创 2017-03-16 20:39:42 · 561 阅读 · 0 评论 -
ZOJ 3960 What Kind of Friends Are You?【】
What Kind of Friends Are You? ZOJ - 3960 #include#include#include#include#include#include#include#include#include#includeusing namespace std;#define ll long long#defi原创 2017-04-30 18:05:40 · 350 阅读 · 0 评论 -
ZOJ 3958 Cooking Competition【】
Cooking CompetitionTime Limit: 1 Second Memory Limit: 65536 KB"Miss Kobayashi's Dragon Maid" is a Japanese manga series written and illustrated by Coolkyoushinja. An anime television se原创 2017-04-26 18:39:59 · 300 阅读 · 0 评论 -
ZOJ 3211 Dream City【dp】
Dream CityTime Limit: 1 Second Memory Limit: 32768 KBJAVAMAN is visiting Dream City and he sees a yard of gold coin trees. There are n trees in the yard. Let's call them tree 1, tree 2原创 2017-02-15 21:35:13 · 309 阅读 · 0 评论 -
ZOJ 3203 Light Bulb【数学推导&三分】
Light BulbTime Limit: 1 Second Memory Limit: 32768 KBCompared to wildleopard's wealthiness, his brother mildleopard is rather poor. His house is narrow and he has only one light bulb in原创 2017-02-15 21:17:37 · 411 阅读 · 0 评论 -
ZOJ - 2110 Tempter of the Bone
Tempter of the BoneTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 97076 Accepted Submission(s): 26342Problem DescriptionThe原创 2016-01-30 22:06:15 · 434 阅读 · 0 评论 -
zoj 1002 Fire Net
Fire NetTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionSuppose that we have a square city with straight streets. A map of a city is原创 2016-04-03 22:35:13 · 318 阅读 · 0 评论 -
ZOJ 3326 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-04 23:11:06 · 331 阅读 · 0 评论 -
ZOJ 3600 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-08 16:47:09 · 374 阅读 · 0 评论 -
ZOJ 3603 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-08 17:59:43 · 433 阅读 · 0 评论 -
ZOJ 3607 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-08 18:37:15 · 304 阅读 · 0 评论 -
ZOJ 3609 Modular Inverse【exgcd】
Modular InverseTime Limit: 2 Seconds Memory Limit: 65536 KBThe modular modular multiplicative inverse of an integer a modulo m is an integer x such that a-1≡x (mod m). This is equival原创 2017-02-08 18:53:00 · 306 阅读 · 0 评论 -
HDU 3497 Mistwald【矩阵乘法】
MistwaldTime Limit: 2 Seconds Memory Limit: 65536 KBIn chapter 4 of the game Trails in the Sky SC, Estelle Bright and her friends are crossing Mistwald to meet their final enemy, Lucciola原创 2017-02-10 23:53:14 · 422 阅读 · 0 评论 -
ZOJ 3601 Unrequited Love【STL】
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-sidedly. F原创 2017-02-12 21:18:21 · 385 阅读 · 0 评论 -
ZOJ 3488 Conic Section【】
Conic SectionTime Limit: 2 Seconds Memory Limit: 65536 KBThe conic sections are the nondegenerate curves generated by the intersections of a plane with one or two nappes of a cone. For原创 2017-02-13 21:36:03 · 315 阅读 · 0 评论 -
ZOJ 3959 Problem Preparation 【】
Problem PreparationTime Limit: 1 Second Memory Limit: 65536 KBIt's time to prepare the problems for the 14th Zhejiang Provincial Collegiate Programming Contest! Almost all members of Zh原创 2017-04-26 19:05:36 · 302 阅读 · 0 评论