11 2014 档案
摘要:CowsTime Limit:2000MSMemory Limit:65536KTotal Submissions:7038Accepted:3242DescriptionYour friend to the south is interested in building fences and tu...
阅读全文
摘要:Nlogonia is fighting a ruthless war against the neighboring country of Cubiconia. The Chief General of Nlogonia's Army decided to attack the enemy wit...
阅读全文
摘要:F. Treeland Tourtime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe "Road Accident" band is plan...
阅读全文
摘要:Sum of Consecutive Prime NumbersTime Limit:1000MSMemory Limit:65536KTotal Submissions:19697Accepted:10800DescriptionSome positive integers can be repr...
阅读全文
摘要:Run AwayTime Limit:3000MSMemory Limit:65536KTotal Submissions:6482Accepted:1993DescriptionOne of the traps we will encounter in the Pyramid is located...
阅读全文
摘要:首先是转载,觉得写得真好一. 爬山算法 ( Hill Climbing ) 介绍模拟退火前,先介绍爬山算法。爬山算法是一种简单的贪心搜索算法,该算法每次从当前解的临近解空间中选择一个最优解作为当前解,直到达到一个局部最优解。 爬山算法实现很简单,其主要缺点是会陷入局部最优解,而不一定能搜索到全局最优...
阅读全文
摘要:112. a^b-b^atime limit per test: 0.25 sec. memory limit per test: 4096 KBYou are given natural numbers a and b. Find a^b-b^a.InputInput contains numbe...
阅读全文
摘要:HangoverTime Limit:1000MSMemory Limit:10000KTotal Submissions:103896Accepted:50542DescriptionHow far can you make a stack of cards overhang a table? I...
阅读全文
摘要:487-3279Time Limit:2000MSMemory Limit:65536KTotal Submissions:247781Accepted:44015DescriptionBusinesses like to have memorable telephone numbers. One ...
阅读全文
摘要:ExponentiationTime Limit:500MSMemory Limit:10000KTotal Submissions:138526Accepted:33859DescriptionProblems involving the computation of exact values o...
阅读全文
摘要:Nim or not Nim?Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1056Accepted Submission(s): 523Prob...
阅读全文
摘要:Calendar GameTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2766Accepted Submission(s): 1594Probl...
阅读全文
摘要:A Multiplication GameTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3832Accepted Submission(s): 2...
阅读全文
摘要:S-NimTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4770Accepted Submission(s): 2058Problem Descr...
阅读全文
摘要:Description Harry Potter has some precious. For example, his invisible robe, his wand and his owl. When Hogwarts school is in holiday, Harry Potter h...
阅读全文
摘要:DescriptionHarry: "But Hagrid. How am I going to pay for all of this? I haven't any money."Hagrid: "Well there's your money, Harry! Gringotts, the wiz...
阅读全文
摘要:During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdoms in China ---- they were Qi, Chu, Yan, Han, Zhao, Wei an...
阅读全文
摘要:Borg MazeTime Limit:1000MSMemory Limit:65536KTotal Submissions:8905Accepted:2969DescriptionThe Borg is an immensely powerful race of enhanced humanoid...
阅读全文
摘要:Agri-NetTime Limit:1000MSMemory Limit:10000KTotal Submissions:41230Accepted:16810DescriptionFarmer John has been elected mayor of his town! One of his...
阅读全文
摘要:HighwaysTime Limit:1000MSMemory Limit:65536KTotal Submissions:23033Accepted:10612DescriptionThe island nation of Flatopia is perfectly flat. Unfortuna...
阅读全文
摘要:Truck HistoryTime Limit:2000MSMemory Limit:65536KTotal Submissions:19122Accepted:7366DescriptionAdvanced Cargo Movement, Ltd. uses trucks of different...
阅读全文
摘要:Help Me with the GameTime Limit:1000MSMemory Limit:65536KTotal Submissions:3510Accepted:2251DescriptionYour task is to read a picture of a chessboard ...
阅读全文
摘要:Emag eht htiw Em PlehTime Limit:1000MSMemory Limit:65536KTotal Submissions:2806Accepted:1865DescriptionThis problem is a reverse case of theproblem 29...
阅读全文
摘要:实在太冷了今天taxi :错误原因1 忽略了 1 1 1 1 和 1 2 1 这种情况,直接认为最多两组一车了2 语句顺序错double cola: 忘了减去n的序号1,即n--B. Taxitime limit per test3 secondsmemory limit per test256 m...
阅读全文
摘要:DescriptionStudents often have problems taking up seats. When two students want the same seat, a quarrel will probably begin.It will have very bad eff...
阅读全文
摘要:DescriptionThe city of M is a famous shopping city and its open-air shopping malls are extremely attractive. During the tourist seasons, thousands of ...
阅读全文
摘要:DescriptionOn the evening of 3 August 1492, Christopher Columbus departed from Palos de la Frontera with a few ships, starting a serious of voyages of...
阅读全文
摘要:DescriptionA new Semester is coming and students are troubling for selecting courses. Students select their course on the web course system. There are...
阅读全文
摘要:DescriptionMath Olympiad is called “Aoshu” in China. Aoshu is very popular in elementary schools. Nowadays, Aoshu is getting more and more difficult. ...
阅读全文
摘要:Description“Farm Game” is one of the most popular games in online community. In the community each player has a virtual farm. The farmer can decide to...
阅读全文
摘要:In geometry the Fermat point of a triangle, also called Torricelli point, is a point such that the total distance from the three vertices of the trian...
阅读全文
摘要:F -Computer Virus on Planet PandoraTime Limit:2000MSMemory Limit:128000KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 3695Appoint description:...
阅读全文
摘要:F -Rotational PaintingTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 3685Appoint description:DescriptionJos...
阅读全文
摘要:C -To Be an Dream ArchitectTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 3682Appoint description:Descripti...
阅读全文
摘要:J -Infinite monkey theoremTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 3689Appoint description:Descriptio...
阅读全文
摘要:H -National Day ParadeTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 3687Appoint description:DescriptionThe...
阅读全文
摘要:C -To Be an Dream ArchitectTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 3682Appoint description:Descripti...
阅读全文
摘要:147. Black-white kingtime limit per test: 0.25 sec.memory limit per test: 4096 KBinput: standard inputoutput: standard outputOn the chessboard of size...
阅读全文
摘要:D. Bag of micetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe dragon and the princess are ar...
阅读全文
摘要:Collecting BugsTime Limit:10000MSMemory Limit:64000KTotal Submissions:2745Accepted:1345Case Time Limit:2000MSSpecial JudgeDescriptionIvan is fond of c...
阅读全文
摘要:/*Scout YYF ITime Limit:1000MSMemory Limit:65536KTotal Submissions:5304Accepted:1455DescriptionYYF is a couragous scout. Now he is on a dangerous miss...
阅读全文
摘要:146. The Runnertime limit per test: 0.25 sec.memory limit per test: 4096 KBinput: standard inputoutput: standard outputThe runner moves along the ring...
阅读全文