自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 【c++】PAT甲级1093/乙级1040 Count PAT's (25/25分)

题目The string APPAPT contains two PAT’s as substrings. The first one is formed by the 2nd, the 4th, and the 6th characters, and the second one is formed by the 3rd, the 4th, and the 6th characters....

2020-03-31 21:18:32 91

原创 【python】PAT甲级1011 World Cup Betting (20/20分)

题目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 battles for the World Cup trophy in South Africa...

2020-02-21 22:33:42 246

原创 【python】PAT甲级1010 Radix (24/25分)

题目Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 is a binary number.Now for any pair of positive ...

2020-02-21 15:58:36 171

原创 【python】PAT1009 Product of Polynomials (25/25分)

题目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 line contains the info...

2020-02-20 20:09:05 158

原创 【pathon】PAT甲级1008 Elevator (20/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 ...

2020-02-20 12:03:55 138

原创 【python】PAT甲级1007 Maximum Subsequence Sum (25/25分)

题目Given a sequence of K integers { N​1​​, N​2​​, …, N​K​​ }. A continuous subsequence is defined to be { N​i​​, N​i+1​​, …, N​j​​ } where 1≤i≤j≤K. The Maximum Subsequence is the continuous subsequen...

2020-02-19 21:41:58 127

原创 【python】PAT甲级1006 Sign In and Sign Out (25/25分)

题目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’s...

2020-02-19 18:04:14 168

原创 【python】PAT甲级1005 Spell It Right (20/20分)

题目Given a non-negative integer N(非零整数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 contains one test...

2020-02-19 17:41:54 109

原创 【python】PAT甲级1004 Counting Leaves (30/30分)

题目A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.Input Specification:Each input file contains one test case. Each case sta...

2020-02-18 20:27:19 270

原创 【python】PAT甲级1003 Emergency (25/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 ...

2020-02-18 11:48:15 183

原创 [python] 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).Input Specification:Each inpu...

2020-02-17 23:09:22 134

原创 【python】PAT甲级1002 A+B for Polynomials (25分)

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 line contains the informati...

2020-02-17 18:08:14 324

空空如也

空空如也

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

TA关注的人

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