PAT解题集
发丧二极管
这个人很懒,什么也不想写
展开
-
PAT (Advanced Level) Practice 1050 String Subtraction
【Problem Description】:Given two strings S1 and S2, S=S1−S2 is defined to be the remaining string after taking all the characters in S2 from S1. Your task is simply to calculate S1−S2...原创 2019-11-07 00:11:40 · 123 阅读 · 0 评论 -
PAT (Advanced Level) Practice 1036 Boys vs Girls
【Problem Description】:This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students.【Input Specification】:Each i...原创 2019-10-29 13:56:43 · 97 阅读 · 0 评论 -
PAT (Advanced Level) Practice 1005 Spell It Right
【Problem Description】: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】:Each input file con...原创 2019-10-26 20:17:29 · 115 阅读 · 0 评论 -
PAT (Advanced Level) Practice 1002 A+B for Polynomials
【Problem Description】: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 occupies 2 lines, and each l...原创 2019-10-26 13:50:32 · 165 阅读 · 0 评论 -
PAT (Advanced Level) Practice 1001 A+B Format
【Problem Description】: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 areless than four digits).【Input Spec...原创 2019-10-25 16:04:58 · 222 阅读 · 0 评论