PAT甲级真题
PAT甲级真题练习
Qiao_基础软件测试工程师
汽车基础软件开发、测试、架构工程师,吉林大学计算机本硕
展开
-
PAT甲级真题1008 Elevator 【简单叠加计算】
1008 Elevator (20分)The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified order. It costs 6 seconds to move the elevator up one flo原创 2020-10-07 09:06:47 · 282 阅读 · 0 评论 -
PAT甲级1005 Spell it Right 【20】【字符串操作】
1005 Spell It Right (20分)题目要求Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English.Input Specification:给出一个非负整数N,你的任务是计算所有N的数位数字之和,然后将这个和的每一个数位都用英语表示出来。Each input file cont原创 2020-10-07 08:35:30 · 3273 阅读 · 0 评论 -
PAT甲级1003 Emergency【25分】【Dijkstra算法】
1003 Emergency (25分)As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams in each city and the length of each road between any pair原创 2020-10-06 20:34:11 · 183 阅读 · 0 评论 -
PAT甲级1001 A+B Format 【20分】【C语言实现】【字符串操作】
备战2020冬季甲级PAT考试。1001 A+B Format (20分)Calculate a+b and output the sum in standard format – that is, the digits must be separated into groups of three by commas (unless there are less than four digits).计算 a+b 的值,并以标准形式输出它们的总和——意思就是说,每三个数位必须用逗号分隔开(除非一共就.原创 2020-10-05 09:16:17 · 395 阅读 · 1 评论