![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
水题
昨日明眸
个人爱好
展开
-
A Famous Music Composer(水一道)
A Famous Music Composer时间限制:1000 ms | 内存限制:65535 KB难度:1描述Mr. B is a famous music composer. One of his most famous work was his set of preludes. These 24 pieces span the 24 musical原创 2016-06-02 18:22:34 · 574 阅读 · 0 评论 -
HDU1032:The 3n + 1 problem(比较运算次数)
The 3n + 1 problemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 35045 Accepted Submission(s): 12712Problem DescriptionProblems原创 2016-09-08 19:55:28 · 272 阅读 · 0 评论 -
Codeforces Round #366 (Div. 2)
A. Hulktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDr. Bruce Banner hates his enemies (like others don'原创 2016-08-20 16:08:22 · 206 阅读 · 0 评论 -
1347 旋转字符串【51NOD】
1347 旋转字符串基准时间限制:1 秒 空间限制:131072 KB 分值: 5 难度:1级算法题S[0...n-1]是一个长度为n的字符串,定义旋转函数Left(S)=S[1…n-1]+S[0].比如S=”abcd”,Left(S)=”bcda”.一个串是对串当且仅当这个串长度为偶数,前半段和后半段一样。比如”abcabc”是对串,”aabbcc原创 2016-08-20 16:51:42 · 336 阅读 · 0 评论 -
Codeforces Round #368(Div.2)A. Brain's Photos
A. Brain's Photostime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSmall, but very brave, mouse Brain was no原创 2016-08-21 13:12:09 · 222 阅读 · 0 评论 -
CodeForces 554B
B. Ohana Cleans Uptime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOhana Matsumae is trying to clean a room原创 2016-08-22 19:39:41 · 202 阅读 · 0 评论 -
CodeForces 658A
A. Bear and Reverse Radewooshtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak and Radewoosh are going原创 2016-08-22 19:40:58 · 312 阅读 · 0 评论 -
水题
FootballTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d& %I64uSubmit StatusDescriptionPetya loves football very much. One day, as he was watching a footballmatch,原创 2016-05-16 07:29:27 · 305 阅读 · 0 评论 -
Lucky Numbers (easy)(暴力解决)
Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u DescriptionPetya loves lucky numbers. Everybody knows that positive integers are lucky if their decimal repr原创 2016-05-17 18:15:18 · 2805 阅读 · 1 评论 -
Codeforces-711A Bus to Udayland(找座位)
A. Bus to Udaylandtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZS the Coder and Chris the Baboon are tr原创 2016-09-04 18:59:01 · 349 阅读 · 0 评论 -
1181 质数中的质数
1181 质数中的质数(质数筛法)题目来源: Sgu基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题如果一个质数,在质数列表中的编号也是质数,那么就称之为质数中的质数。例如:3 5分别是排第2和第3的质数,所以他们是质数中的质数。现在给出一个数N,求>=N的最小的质数中的质数是多少(可以考虑用质数筛法来做)。原创 2016-08-15 11:49:05 · 309 阅读 · 0 评论 -
LightOJ 1022 Circle in Square(求面积)
A circle is placed perfectly into a square. The term perfectly placed means that each side of the square is touched by the circle, but the circle doesn't have any overlapping part with the square. See原创 2016-09-24 13:07:23 · 325 阅读 · 0 评论 -
HDU 2136Largest prime factor(打表)
Largest prime factorTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 2136Appoint description: System Crawler (Oct 13, 2016 7:58:1原创 2016-10-17 20:45:37 · 275 阅读 · 0 评论 -
CodeForces 444C. DZY Loves Physics
DZY Loves PhysicsDZY loves Physics, and he enjoys calculating density.Almost everything has density, even a graph. We define the density of a non-directed graph (nodes and edges of the graph hav原创 2016-10-30 16:38:00 · 324 阅读 · 0 评论 -
UVA 401 - Palindromes(判断回文串和镜像串)
A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when the string is read from lef原创 2016-12-04 18:20:19 · 403 阅读 · 0 评论 -
WERTYU(模拟,还原键值)
A common typing error is to place the hands on the keyboard one row to the right of the correct position. So "Q" is typed as "W" and "J" is typed as "K" and so on. You are to decode a message typed in原创 2016-12-04 18:23:23 · 661 阅读 · 0 评论 -
Who's in the Middle(水题,谁在中间)
Who's in the Middle Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3732 Accepted Submission(s): 1396 Problem Des原创 2016-07-20 20:11:54 · 2402 阅读 · 0 评论 -
1707: 丧心病狂的计数(水)
1707: 丧心病狂的计数Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 263 Solved: 124SubmitStatusWeb BoardDescription有一天,stubird发现了n个糖罐,里面有很多糖罐,很喜欢吃糖的Stubrid当然想吃最多的糖, 但是他只能带走k个罐子,问他最多能带走多少颗糖?原创 2016-08-04 21:19:32 · 331 阅读 · 0 评论 -
Nasty Hacks(划不划算)
Nasty Hacks Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3784 Accepted Submission(s): 2393 Problem Description原创 2016-07-21 08:27:02 · 473 阅读 · 0 评论 -
Number Sequence(存在循环规律)
Number SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1803 Accepted Submission(s): 688 Problem DescriptionA原创 2016-07-22 19:47:39 · 6749 阅读 · 8 评论 -
hdu(1013)注意大数
Digital RootsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 69567 Accepted Submission(s): 21759Problem DescriptionThe digital ro原创 2016-07-22 20:42:16 · 211 阅读 · 0 评论 -
找点题做(hdu分类)
hdu题目分类模拟题, 枚举1002 1004 1013 1015 1017 1020 1022 1029 1031 1033 1034 1035 1036 1037 1039 1042 1047 1048 1049 1050 1057 1062 1063 1064 1070 1073 1075 1082 1083 1084 1088 1106 1107 1113 1117 1119翻译 2016-07-22 20:20:20 · 317 阅读 · 0 评论 -
hdu(1020)Encoding统计字符
EncodingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 39808 Accepted Submission(s): 17625Problem DescriptionGiven a string cont原创 2016-07-22 20:48:43 · 299 阅读 · 0 评论 -
Biker's Trip Odometer(求平均速度)
Biker's Trip Odometer Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5132 Accepted Submission(s): 2256 Problem D原创 2016-07-20 19:36:28 · 328 阅读 · 0 评论 -
HDU2521:反素数 .
反素数Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5838 Accepted Submission(s): 3431Problem Description反素数就是满足对于任意i(0原创 2016-07-28 20:28:10 · 488 阅读 · 0 评论 -
前m大的数
前m大的数(sort)Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescription还记得Gardon给小希布置的那个作业么?(上次比赛的1005)其实小希已经找回了原来的那张数表,现在她想确认一下她的答案是否正确,但是整个的答案是很庞原创 2016-07-19 13:47:30 · 270 阅读 · 0 评论 -
开门人和关门人
开门人和关门人(结构体+sort)Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescription每天第一个到机房的人要把门打开,最后一个离开的人要把门关好。现有一堆杂乱的机房签到、签离记录,请根据记录找出当天开门和关门的人。原创 2016-07-19 14:34:01 · 288 阅读 · 0 评论 -
EXCEL排序
EXCEL排序(sort+结构体)Time Limit:5000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionExcel可以对一组纪录按任意指定列排序。现请你编写程序实现类似功能。 Input测试输入包含若干测试用例原创 2016-07-19 15:00:29 · 306 阅读 · 0 评论 -
稳定排序(sort+结构体)
稳定排序(sort+结构体)Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescription大家都知道,快速排序是不稳定的排序方法。 如果对于数组中出现的任意a[i],a[j](i某高校招生办得到一份成绩列表,上面记录了考生名原创 2016-07-19 15:35:28 · 943 阅读 · 1 评论 -
What Is Your Grade?(结构体+(sort))
What Is Your Grade?(结构体+(sort))Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescription“Point, point, life of student!”This is a ballad(歌谣)we原创 2016-07-19 17:57:17 · 393 阅读 · 0 评论 -
Milk(sort+结构体)
Milk(sort+结构体)Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionIgnatius drinks milk everyday, now he is in the supermarket and he wants原创 2016-07-19 18:03:21 · 375 阅读 · 0 评论 -
1812: sort(好恶心的输入方式)
1812: sortTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 277 Solved: 54SubmitStatusWeb BoardDescription想必大家对排序已经很熟悉了,但是spy好像对排序不太熟悉,有一天,他看到这样一个关于排序的题目:对于 k 个用空格分隔开的整数,依次为 n1, n2 … n原创 2016-08-04 08:46:49 · 267 阅读 · 0 评论 -
1712: 神密的数列(打表)
Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 140 Solved: 108SubmitStatusWeb BoardDescription2030年,酷夏。一队考古人员来到这片山区,原因据说是发现这里可能有极其珍贵的古迹。 遗迹的开发工作工作远比他们之前想象的复杂度得多,开发进度缓慢,眼看着时间就快来不急了。原创 2016-08-04 11:39:54 · 358 阅读 · 0 评论 -
Petya and Java(整型类型)
Petya and JavaTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d& %I64uSubmitStatus DescriptionLittle Petya has recently started attending a programming club. Naturally原创 2016-05-15 20:52:16 · 474 阅读 · 0 评论 -
Rank(该学生第几名)
Rank Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4538 Accepted Submission(s): 1294 Problem DescriptionJacks原创 2016-07-20 21:14:44 · 905 阅读 · 0 评论 -
uva 340 Master-Mind Hints(数组应用--密码契合)
题目描述:MasterMind is a game for two players. One of them, Designer, selects a secret code. The other, Breaker,tries to break it. A code is no more than a row of colored dots. At the beginning of a g原创 2016-12-05 20:10:54 · 322 阅读 · 0 评论