自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 收藏
  • 关注

原创 PAT甲级(Advanced Level)练习题 World Cup Betting (20)

题目描述With the 2010 FIFA World Cup running, football fans the world over werebecoming increasingly excited as the best players from the best teamsdoing battles for the World Cup trophy in South Afric...

2019-03-27 23:49:15 153

原创 PAT甲级(Advanced Level)练习题 Product of Polynomials (25)

题目描述This time, you are supposed to find A*B where A and B are two polynomials.输入描述:Each input file contains one test case. Each case occupies 2 lines, and each line contains the information of a po...

2019-03-24 21:20:15 209

原创 PAT甲级(Advanced Level)练习题 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 ...

2019-03-23 21:00:50 191

原创 PAT甲级(Advanced Level)练习题 Sign In and Sign Out

题目描述At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in’s and out’...

2019-03-22 21:06:50 188

原创 PAT甲级(Advanced Level)练习题 Spell It Right

题目描述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.输入描述:Each input file contains one test case. Each case occup...

2019-03-22 20:39:20 159

原创 PAT甲级(Advanced Level)练习题 A+B for Polynomials (25)

题目描述This time, you are supposed to find A+B where A and B are two polynomials.输入描述:Each input file contains one test case. Each case occupies 2 lines, and each line contains the information of a po...

2019-03-21 21:45:17 253

原创 PAT甲级(Advanced Level)练习题 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).输入描述:Each input file contai...

2019-03-20 23:41:34 241

原创 PAT甲级(Advanced Level)练习题 Boys vs GirlsBoys vs Girls

题目描述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.输入描述:Each input file contains one test case. E...

2019-03-20 20:57:20 124

原创 PAT甲级(Advanced Level)练习题 Password(20)

题目描述To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords since it is hard to distinguish 1 (one) from...

2019-03-20 15:32:25 134

原创 PAT甲级(Advanced Level)练习题 Median (25)

题目描述Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1={11, 12, 13, 14} is 12, and the median of S2={9, 10, 15, 16, 17} is 1...

2019-03-20 00:17:47 105

原创 PAT甲级(Advanced Level)练习题 List Sorting (25)

题目描述Excel can sort records according to any column. Now you are supposed to imitate this function.输入描述:Each input file contains one test case. For each case, the first line contains two integers ...

2019-03-19 23:53:45 160

原创 PAT甲级(Advanced Level)练习题 Colors in Mars

题目描述People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, where the first 2 digits are for Red, the middle...

2019-03-19 20:49:19 107

原创 PAT甲级(Advanced Level)练习题 The Dominant Color

题目描述Behind the scenes in the computer’s memory, color is always talked about as a series of 24 bits of information for each pixel. In an image, the color with the largest proportional area is called...

2019-03-19 20:16:55 126

原创 PAT甲级(Advanced Level)练习题 List Grades

题目描述Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-increasing order, and output those student records of which the g...

2019-03-18 22:22:41 131

原创 PAT乙级模拟题 A+B和C

题目描述给定区间[-2的31次方, 2的31次方]内的3个整数A、B和C,请判断A+B是否大于C。输入描述:输入第1行给出正整数T(<=10),是测试用例的个数。随后给出T组测试用例,每组占一行,顺序给出A、B和C。整数间以空格分隔。输出描述:对每组测试用例,在一行中输出“Case #X: true”如果A+B>C,否则输出“Case #X: false”,其中X是测试用例的...

2019-03-18 20:34:12 160

原创 PAT甲级(Advanced Level)练习题 Rational Sum

PAT甲级(Advanced Level)练习题 Rational Sum题目描述Given N rational numbers in the form “numerator/denominator”, you are supposed to calculate their sum.输入描述Each input file contains one test case. Each cas...

2019-03-16 22:53:53 153

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除