UVa
文章平均质量分 80
AC_Dreameng
行有余力,则来刷题!
展开
-
HDU 1241/UVa572 Oil Deposits(DFS&BFS)
Oil DepositsTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 2 Accepted Submission(s) : 2Problem DescriptionThe GeoSurvComp geolo原创 2016-03-22 18:14:35 · 1661 阅读 · 0 评论 -
UVA 10110 Light, more light【经典开灯问题】
Light, more lightTime Limit: 3000msMemory Limit: 131072KBThis problem will be judged on UVA. Original ID: 1011064-bit integer IO format: %lld Java class name: MainPrev S原创 2016-08-14 16:17:25 · 1498 阅读 · 0 评论 -
CSU 1333 & Uva 12661 Funny Car Racing【最短路变形+spfa算法,链式前向星建图】
Funny Car RacingMemory Limit: 131072KB64bit IO Format: %lld & %lluStatusDescriptionThere is a funny car racing in a city with n junctions and m directed roads. Th原创 2016-08-25 21:41:19 · 14906 阅读 · 0 评论 -
POJ2551 & UVA 10127 Ones (数论) 计算至少要多少位十进制的1能够被n整除
OnesTime limit: 3.000 secondsDescriptionGiven any integer 0 ≤ n ≤ 10000 not divisibleby 2 or 5, some multiple of n is a number whichin decimal notation is a sequence of 1’s. Howmany digi原创 2016-03-14 22:28:30 · 1341 阅读 · 0 评论 -
UVA 1225 Digit Counting(统计数位出现的次数)
Digit CountingTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmitStatusDescriptionTrung is bored with his mathematics homeworks. He ta原创 2016-05-20 20:05:54 · 7418 阅读 · 0 评论 -
UVA 455 Periodic Strings (最短周期串长度)
Periodic Strings A character string is said to have period k if it can be formed by concatenating one or more repetitions of another string of length k. For example, the string "abcabc原创 2016-05-25 23:08:25 · 3551 阅读 · 0 评论 -
Uva 10082 POJ2538 WERTU(简单字符操作)
WERTYUTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8971 Accepted: 4288Description A common typing error is to place the hands on the keyboard one原创 2016-03-15 17:39:40 · 1371 阅读 · 0 评论 -
Uva 272TEX Quotes (f符号转换)
TEX QuotesTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu SubmitStatus DescriptionTeX is a typesetting language developed by Don原创 2016-03-15 17:25:22 · 963 阅读 · 0 评论 -
UVa 401 Palindromes (回文串与镜像串的综合判断)
PalindromesTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu SubmitStatus DescriptionA regular palindrome is a string of numbers o原创 2016-03-15 16:50:06 · 1292 阅读 · 0 评论 -
UVA - 10079 Pizza Cutting (直线划分平面问题,公式解决)
Pizza CuttingTime Limit: 8333MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmitStatus DescriptionWhen someone calls Ivan lazy, he claims that it is原创 2016-03-14 23:10:12 · 1469 阅读 · 0 评论 -
Uva1585 Score (简单统计)
ScoreDescriptionThere is an objective test result such as ``OOXXOXXOOO". An `O' means a correct answer of a problem and an `X' means a wrong answer. The score of each problem of this test is c原创 2016-03-13 20:25:23 · 1421 阅读 · 0 评论 -
UVa1225Digit Counting(计算1-n的整数0-9各出现了多少次,神级代码...)
UVA - 1225Digit CountingTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmitStatus DescriptionTrung is bored with his mathema原创 2016-03-13 21:07:15 · 6820 阅读 · 5 评论 -
UVa 1586 Molar mass (计算分子量,不含扩号)
Molar massDescriptionAn organic compound is any member of a large class of chemical compounds whose molecules contain carbon. Themolarmass of an organic compound is the mass of one m原创 2016-03-13 20:38:03 · 2427 阅读 · 0 评论 -
Uva10905 Children's Game (C++String的运运用呀...)
.Children's GameTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmit StatusDescription题意:给定n个正整数,把它们连接成一个最大的整数.比如,1原创 2016-03-10 20:14:06 · 796 阅读 · 0 评论 -
UVa 11039 Building designing (求按绝对值升序最长正负交替数列长度)
UVA - 11039Building designingTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmit StatusDescription题意:有n个绝对值各原创 2016-03-10 19:42:58 · 914 阅读 · 0 评论 -
Uva 11729 Commando War【贪心】
题意:有n的任务,每个任务安排需要b秒,完成任务需要j秒,不能同时安排任务,但能同时做不同的任务,问你做完所有任务的最少时间。贪心,根据完成任务时间从大到小排序,一次进行即可。对于数据的储存,可以用结构体数组,也可以用vector(白书上例题)。原创 2016-09-19 23:27:11 · 1016 阅读 · 0 评论