寒假ACM算法题
落笔画美人
这个作者很懒,什么都没留下…
展开
-
Cancer's Trial D-4 HDU-2159 &E-5 HDU-2577
FATEProblem Description最近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在不停的杀怪做任务。久而久之xhd开始对杀怪产生的厌恶感,但又不得不通过杀怪来升完这最后一级。现在的问题是...原创 2019-01-28 12:45:17 · 89 阅读 · 0 评论 -
Capricorn's Trial F - 6 HDU - 2181 哈密顿绕行世界问题
哈密顿绕行世界问题 Problem Description 一个规则的实心十二面体,它的 20个顶点标出世界著名的20个城市,你从一个城市出发经过每个城市刚好一次后回到出发的城市。 Input 前20行的第i行有3个数,表示与第i个城市相...原创 2019-01-30 13:43:05 · 143 阅读 · 0 评论 -
Capricorn's Trial G - 7 HDU - 1213 How Many Tables
How Many Tables Problem Description Today is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignati...原创 2019-01-30 13:37:52 · 152 阅读 · 0 评论 -
Capricorn's Trial J - 0 POJ - 2387 Til the Cows Come Home(Dijkstra算法)
Til the Cows Come HomeTime Limit: 1000MS Memory Limit: 65536K Total Submissions:80270 Accepted: 26496 Descript...原创 2019-01-30 13:33:14 · 193 阅读 · 0 评论 -
Capricorn's Trial H - 8 HDU - 1541 Stars
Stars Problem Description Astronomers often examine star maps where stars are represented by points on a plane and each sta...原创 2019-01-30 09:57:33 · 150 阅读 · 0 评论 -
Aquarius's Trial F - 6 HDU - 2102 A计划
A计划 Problem Description 可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信谣言说吃公主的肉也能长生不老。年迈的国王正是心急如焚,告招天下...原创 2019-01-30 09:36:10 · 115 阅读 · 0 评论 -
Aquarius's Trial G - 7 HDU - 1394 Minimum Inversion Number
Minimum Inversion Number Problem Description The inversion n...原创 2019-01-30 09:30:33 · 174 阅读 · 0 评论 -
Aquarius's Trial H - 8 HDU - 1156 Brownie Points II
Brownie Points II Problem Description Stan and Ollie play th...原创 2019-01-30 09:18:43 · 255 阅读 · 0 评论 -
Aquarius's Trial J - 0 POJ - 1797 Heavy Transportation
Heavy TransportationDescriptionBackground Hugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business...原创 2019-01-29 22:47:05 · 131 阅读 · 0 评论 -
Aquarius's Trial I-9 POJ - 2253 & J - 0 POJ - 1797
FroggerDescriptionFreddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting ...原创 2019-01-29 18:24:35 · 149 阅读 · 0 评论 -
Aquarius's Trial E-5 HDU - 1560 & F - 6 HDU - 2102 & G - 7 HDU - 1394 & H - 8 HDU - 1156
DNA sequence Problem Description The twenty-first century is a biology-technology developing century. We...原创 2019-01-29 17:18:35 · 189 阅读 · 0 评论 -
Capricorn's Trial E - 5 HDU - 1043 & F - 6 HDU - 2181 & G - 7 HDU - 1213 & H - 8 HDU - 1541
EightProblem DescriptionThe 15-puzzle has been around for over 100 years; even if you don't know it by that name, y...原创 2019-01-29 16:01:50 · 239 阅读 · 0 评论 -
Sagittarius's Trial F-6 HDU-1072 & G-7 HDU-1075 & H-8 UVA-11389 & I-9 HDU-1754 & J-0 POJ-1251
NightmareProblem DescriptionIgnatius had a nightmare last night. He found himself in a labyrinth with a time bomb on him. ...原创 2019-01-29 14:37:29 · 227 阅读 · 0 评论 -
Scorpio's Trial F-6 HDU-1016 && G-7 HDU-1026 && H-8 UVA-11264 && I-9 HDU-2068 &&J-0 HDU-1166
Problem DescriptionA ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of numbers in two adjacent circles should be a prime....原创 2019-01-29 11:09:49 · 347 阅读 · 0 评论 -
Libra's Trial F-6 HDU-2612 &&G-7 HDU-1010 && H-8 HDU-10115 && I-9 HDU-2049 && J-0 HDU-2067
Find a wayProblem DescriptionPass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei h...原创 2019-01-29 07:26:25 · 202 阅读 · 0 评论 -
Virgo's Trial F-6 HDU-1789 && G-7 HDU-1241 && H-8 HDU-1495 && I-9 UVA-10020 && J-0 UVA-10382
Doing Homework againProblem DescriptionIgnatius has just come back school from the 30th ACM/ICPC. Now he has a lot of home...原创 2019-01-29 06:20:21 · 251 阅读 · 0 评论 -
Leo's Trial G-7 UVA-11624 && H-8 POJ-3984 &&I-9 HDU-1576 && J-01193
11624 - Fire!题解:迷宫着火了,火势会蔓延,Joe要逃跑,看最后能不能逃出来,大家注意,题意中用的是portions,这是一个复数形式,用词典一翻译,只看到了主体意思,没看到复数。 也就是说,Joe的起点唯一,但是起火的地方并不是唯一的,这是我们...原创 2019-01-29 04:35:34 · 143 阅读 · 0 评论 -
Sagittarius's Trial I - 9 HDU - 1754 I Hate It
I Hate ItProblem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。 ...原创 2019-02-02 15:55:21 · 123 阅读 · 0 评论 -
Sagittarius's Trial J - 0 POJ - 1251 Jungle Roads
Jungle RoadsDescriptionThe Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads ...原创 2019-01-30 16:23:12 · 148 阅读 · 0 评论