
水题
文章平均质量分 77
WQJ0714
曾经失败过,不代表永远失败。
展开
-
SDUT 1081 Above Average
题目描述 It is said that 90% of frosh expect to be above average in their class. You are to provide a reality check. 输入 The first line of standard input contains an integer C, the number of test cases.原创 2015-02-07 12:59:26 · 459 阅读 · 0 评论 -
SDUT 1128 河床
题目描述 地理学家们经常要对一段河流进行测量分析。他们从上游开始向下游方向等距离地选择了n(n≤30000)个点测量水位深度。得到一组数据d1,d2,...,dn,回到实验室后数据分析员根据需要对数据进行分析,发掘隐藏在数据背后的规律。最近,乌龙博士发现某种水文现象与河床地势有关,于是他指示分析员要找到一段河流中最大高低起伏差不超过k(k≤100)的最长一段。这看似一个复杂的问题,由于任务紧急,原创 2015-02-07 13:10:18 · 525 阅读 · 1 评论 -
Beautiful Year
题目描述 It seems like the year of 2013 came only yesterday. Do you know a curious fact? The year of 2013 is the first year after the old 1987 with only distinct digits. Given a year number原创 2015-02-07 13:38:37 · 420 阅读 · 0 评论 -
SDUT 1103 Quicksum
题目描述 A checksum is an algorithm that scans a packet of data and returns a single number. The idea is that if the packet is changed, the checksum will also change, so checksums are often used for dete原创 2015-02-07 13:02:40 · 484 阅读 · 0 评论 -
SDUT 1127 图案打印
题目描述 一年一度的植树节就要到了,计算机学院学生准备在学院教学楼门前的空地上种植树木。为使树木排列得更加美观,大家决定把树木排列成菱形。现在告诉你我们所拥有的树木能排列成边长为N的菱形,请你编程输出树木所排列的图案(用*号代表树木)。 输入 一个整数N(1≤N≤10)。 输出 排列成菱形图案的*号。请注意在图案中:每行树木之间无空行,每列树木之间均有一个空列。 示例输入 3原创 2015-02-07 13:09:23 · 606 阅读 · 0 评论