自定义博客皮肤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 144

原创 【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 303

原创 【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 229

原创 【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 261

原创 【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 192

原创 【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 197

原创 【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 249

原创 【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 156

原创 【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 358

原创 【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 263

原创 [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 215

原创 【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 411

空空如也

空空如也

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

TA关注的人

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