![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
UVA
文章平均质量分 78
_OTTFF
这个作者很懒,什么都没留下…
展开
-
UVA_301_Transportation
Transportation Ruratania is just entering capitalism and is establishing new enterprising activities in many fields including transport. The transportation company TransRuratania is starti原创 2015-08-09 23:22:13 · 999 阅读 · 0 评论 -
UVA_11292_DragonOfLoowater
11292 - Dragon of LoowaterTime limit: 1.000 secondsOnce upon a time, in theKingdom of Loowater, a mi-nor nuisance turned into amajor problem.The shores of RellauCreek in central Loowat原创 2015-09-02 21:16:40 · 358 阅读 · 0 评论 -
UVA_11258_StringPartition
String PartitionDescriptionJohn was absurdly busy for preparing a programming contest recently. He wanted to create a ridiculously easy problem for the contest. His problem was not only easy, but原创 2015-08-06 23:36:38 · 336 阅读 · 0 评论 -
UVA_11624_Fire!
11624 - Fire!Time limit: 1.000 secondsJoe works in a maze. Unfortunately, portions of the maze havecaught on re, and the owner of the maze neglected to create a reescape plan. Help Joe escap原创 2015-09-09 23:33:18 · 266 阅读 · 0 评论 -
UVA_10189_Minesweeper
10189 - MinesweeperTime limit: 3.000 secondsHave you ever played Minesweeper? It's a cute little game which comes within a certain OperatingSystem which name we can't really remember. Well, th原创 2015-09-30 11:19:26 · 312 阅读 · 0 评论 -
UVA_100_The_3n+1_Problem
100 - The 3n + 1 problemTime limit: 3.000 secondsBackgroundProblems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive).原创 2015-09-30 11:14:21 · 271 阅读 · 0 评论 -
UVA_11646_AthleticsTrack
11646 - Athletics TrackTime limit: 1.000 secondsLondon Olympics is approaching very shortly | in just 3 years. Three years might not sound as thatsmall a time to say `just', but it is inde原创 2015-10-22 20:02:11 · 345 阅读 · 0 评论 -
UVA_11800_DetermineTheShape
11800 - Determine the ShapeTime limit: 1.000 secondsA toy company recently found that toys like revolver,machine guns, ghting planes are making children vio-lent and destroying the peace of th原创 2015-10-22 19:46:53 · 427 阅读 · 0 评论 -
UVA_11437_TriangleFun
11437 - Triangle FunTime limit: 1.000 secondsIn the picture below you can see a triangle ABC. Point D, E and F divides the sides BC, CA andAB into ratio 1:2 respectively. That is CD=2BD, AE=2C原创 2015-10-22 19:38:28 · 361 阅读 · 0 评论 -
UVA_11524_InCircle
11524 - InCircleTime limit: 2.000 secondsIn-circle of a triangle is the circle that touches all the three sides of the triangle internally. The centerof the in-circle of a triangle happens原创 2015-10-22 20:19:53 · 381 阅读 · 0 评论 -
UVA_11817_TunnellingTheEarth
11817 - Tunnelling the EarthTime limit: 1.000 secondsThere are different methods of transporting people from placeto place: cars, bikes, boats, trains, planes, etc. For verylong distance原创 2015-10-22 20:07:13 · 329 阅读 · 0 评论 -
UVA_10566_CrossedLadders
10566 - Crossed LaddersTime limit: 3.000 secondsA narrow street is lined with tall buildings. Anx foot long ladder is rested at the base of thebuilding on the right side of the street an原创 2015-10-22 20:33:59 · 368 阅读 · 0 评论 -
UVA_12300_SmallestRegularPolygon
12300 - Smallest Regular PolygonTime limit: 1.000 secondsGiven two different points A and B, your task is to nd a regular polygon of n sides, passing throughthese two points, so that the po原创 2015-10-22 20:29:32 · 392 阅读 · 0 评论 -
UVA_11636_HelloWorld!
11636 - Hello World!Time limit: 1.000 secondsWhen you rst made the computer to print the sentence \Hello World!", you felt so happy, notknowing how complex and interesting the world of program原创 2015-09-02 21:21:02 · 446 阅读 · 1 评论 -
UVA_10970_BigChocolate
10970 - Big ChocolateTime limit: 3.000 secondsMohammad has recently visited Switzerland. As heloves his friends very much, he decided to buy somechocolate for them, but as this ne chocolate原创 2015-09-02 21:07:20 · 848 阅读 · 0 评论 -
UVA_10954_AddAll
Add AllYup!! The problem name reects your task; just add a set of numbers. But you may feel yourselvescondescended, to write a C/C++ program just to add a set of numbers. Such a problem will sim原创 2015-08-09 23:16:27 · 538 阅读 · 0 评论 -
UVA_10911_FormingQuizTeams
10911 - Forming Quiz TeamsTime limit: 3.000 secondsYou have been given the job of forming the quiz teams for the next `MCA CPCI Quiz Championship'.There are 2 N students interested to participat原创 2015-08-09 23:40:43 · 414 阅读 · 0 评论 -
UVA_10271_Chopsticks
10271 - ChopsticksTime limit: 3.000 secondsIn China, people use a pair of chopsticks to get food on the table, but Mr. L is a bit different. He usesa set of three chopsticks { one pair, plus an原创 2015-08-24 16:28:50 · 385 阅读 · 0 评论 -
UVA_10723_CyborgGenes
10723 - Cyborg GenesTime limit: 3.000 secondsSeptember 11, 2132.This is the day that marks the beginning of the end | the end of you the miserable humans.For years you have kept us your slav原创 2015-08-11 10:38:07 · 379 阅读 · 0 评论 -
UVA_11552_FewestFlops
A common way to uniquely encode a string is by replacing its consecutive repeating characters (or\chunks") by the number of times the character occurs followed by the character itself. For example,原创 2015-08-01 22:25:09 · 404 阅读 · 0 评论 -
UVA_10003_CuttingSticks
Cutting SticksYou have to cut a wood stick into pieces. The most affordable company, The Analog Cutting Machinery,Inc. (ACM), charges money according to the length of the stick being cut. Their原创 2015-08-02 16:46:13 · 394 阅读 · 0 评论 -
UVA_10006_CarmichaelNumbers
求一个数是不是卡米切尔数。卡米切尔数。1.不是素数2.符合所有的2#include #include using namespace std;const int M=65000;int pri[M];long long qp(long long nn,int n,int m) //这个题目中答案不会超int但{ long long r=1; wh原创 2015-07-23 09:14:24 · 272 阅读 · 0 评论 -
UVA_10534_WavioSequence
10534 - Wavio SequenceTime limit: 3.000 secondsWavio is a sequence of integers. It has some interesting properties. Wavio is of odd length i.e. L = 2 n + 1. The rst (n + 1) integers of W原创 2015-08-17 14:39:34 · 301 阅读 · 0 评论 -
UVA_10739_StringToPalindrome
10739 - String to PalindromeTime limit: 3.000 secondsIn this problem you are asked to convert a string into a palindrome with minimum number of operations.The operations are described below:原创 2015-08-17 14:45:08 · 325 阅读 · 0 评论 -
UVA_10651_PebbleSolitaire
10651 - Pebble SolitaireTime limit: 3.000 secondsPebble solitaire is an interesting game. This is a game where you are given a board with an arrangementof small cavities, initially all but one原创 2015-08-17 15:02:59 · 303 阅读 · 0 评论 -
UVA_11039_BuildingDesigning
11039 - Building designingTime limit: 3.000 secondsAn architect wants to design a very high building. The building will consist of some oors, and eachoor has a certain size. The size of原创 2015-09-02 21:11:34 · 445 阅读 · 0 评论 -
UVA_10047_TheMonocycle
10047 - The MonocycleTime limit: 3.000 secondsA monocycle is a cycle that runs on one wheel and the one we will be considering is a bit more special.It has a solid wheel colored with ve differe原创 2015-09-09 23:28:21 · 1035 阅读 · 0 评论 -
UVA_11090_GoingInCycle!!
Going in Cycle!!Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluYou are given a weighted directed graph with n vertices and m edges. Each cycle in the graph has aweight原创 2016-02-20 22:09:52 · 274 阅读 · 0 评论