上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing ba 阅读全文
posted @ 2020-02-09 18:57 PennyXia 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 为了用事实说明挖掘机技术到底哪家强,PAT 组织了一场挖掘机技能大赛。现请你根据比赛结果统计出技术最强的那个学校。 输入格式: 输入在第 1 行给出不超过 1 的正整数 N,即参赛人数。随后 N 行,每行给出一位参赛者的信息和成绩,包括其所代表的学校的编号(从 1 开始连续编号)、及其比赛成绩(百分 阅读全文
posted @ 2020-02-09 18:54 PennyXia 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 某城镇进行人口普查,得到了全体居民的生日。现请你写个程序,找出镇上最年长和最年轻的人。 这里确保每个输入的日期都是合法的,但不一定是合理的——假设已知镇上没有超过 200 岁的老人,而今天是 2014 年 9 月 6 日,所以超过 200 岁的生日和未出生的生日都是不合理的,应该被过滤掉。 输入格式 阅读全文
posted @ 2020-02-09 18:51 PennyXia 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 读入 n(>)名学生的姓名、学号、成绩,分别输出成绩最高和成绩最低学生的姓名和学号。 输入格式: 每个测试输入包含 1 个测试用例,格式为 第 1 行:正整数 n 第 2 行:第 1 个学生的姓名 学号 成绩 第 3 行:第 2 个学生的姓名 学号 成绩 ... ... ... 第 n+1 行:第 阅读全文
posted @ 2020-02-09 18:28 PennyXia 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 每个 PAT 考生在参加考试时都会被分配两个座位号,一个是试机座位,一个是考试座位。正常情况下,考生在入场时先得到试机座位号码,入座进入试机状态后,系统会显示该考生的考试座位号码,考试时考生需要换到考试座位就座。但有些考生迟到了,试机已经结束,他们只能拿着领到的试机座位号码求助于你,从后台查出他们的 阅读全文
posted @ 2020-02-09 18:24 PennyXia 阅读(124) 评论(0) 推荐(0) 编辑
摘要: This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occu 阅读全文
posted @ 2020-02-08 20:55 PennyXia 阅读(166) 评论(0) 推荐(0) 编辑
摘要: This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occu 阅读全文
posted @ 2020-02-08 20:44 PennyXia 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 设计函数求一元多项式的导数。(注:x​n​​(n为整数)的一阶导数为nx​n−1​​。) 输入格式: 以指数递降方式输入多项式非零项系数和指数(绝对值均为不超过 1000 的整数)。数字间以空格分隔。 输出格式: 以与输入相同的格式输出导数多项式非零项的系数和指数。数字间以空格分隔,但结尾不能有多余 阅读全文
posted @ 2020-02-08 20:40 PennyXia 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Given three integers A, B and C in [−263,263 ),you are supposed to tell whether A+B>C. Input Specification: The first line of the input gives the posi 阅读全文
posted @ 2020-02-08 20:28 PennyXia 阅读(228) 评论(0) 推荐(0) 编辑
摘要: The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of e 阅读全文
posted @ 2020-02-08 20:09 PennyXia 阅读(185) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 下一页