水题
文章平均质量分 82
古语.
这个作者很懒,什么都没留下…
展开
-
HDU - 3282
For this problem, you will write a program that reads in a sequence of 32-bit signed integers. After eachodd-indexedvalue is read, output the median (middle value) of the elements received so far. ...原创 2020-04-19 22:19:45 · 232 阅读 · 0 评论 -
无剑无我 HDU - 2547 (求两点距离)
北宋末年,奸臣当道,宦官掌权,外侮日亟,辽军再犯。时下战火连连,烽烟四起,哀鸿遍野,民不聊生,又有众多能人异士群起而反,天下志士云集响应,景粮影从。 值此危急存亡之秋,在一个与世隔绝的地方---MCA山上一位江湖人称<英雄哪里出来>的人正在为抗击辽贼研究剑法,终于于一雷电交加之夜精确计算出了荡剑回锋的剑气伤害公式。 定义 f(x, y, m, n) = sqrt(x*x + y*y...原创 2019-03-28 22:47:22 · 205 阅读 · 0 评论 -
Time (字符模拟数字)
Digital clock use 4 digits to express time, each digit is described by 3*3 characters (including”|”,”_”and” “).now given the current time, please tell us how can it be expressed by the digital clock. ...原创 2019-03-28 22:37:30 · 637 阅读 · 0 评论 -
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...原创 2018-11-30 09:03:59 · 417 阅读 · 0 评论