PAT(A) 1101. Quick Sort (25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1101

1101. Quick Sort (25)


There is a classical process named partition in the famous quick sort

PAT(A) 1100. Mars Numbers (20)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1100

1100. Mars Numbers (20)


People on Mars count their numbers with base 13:

Zero on Earth is called "tret"

PAT(A) 1095. Cars on Campus (30)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1095

1095. Cars on Campus (30)


Zhejiang University has 6 campuses and a lot of gates. From each gate

PAT(A) 1094. The Largest Generation (25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1094

1094. The Largest Generation (25)


A family hierarchy is usually presented by a pedigree tree where

PAT(A) 1093. Count PAT's (25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1093

1093. Count PAT's (25)


The string APPAPT contains two PAT's as substrings. The first

PAT(A) 1092. To Buy or Not to Buy (20)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1092

1092. To Buy or Not to Buy (20)


Eva would like to make a string of beads with her favorite colors so

PAT(A) 1091. Acute Stroke (30)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1091

1091. Acute Stroke (30)


One important factor to identify acute stroke (急性脑卒中) is the volume

PAT(A) 1090. Highest Price in Supply Chain (25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1090

1090. Highest Price in Supply Chain (25)


A supply chain is a network of retailers(零售商), distributors(经销商)

PAT(A) 1089. Insert or Merge (25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1089

1089. Insert or Merge (25)


According to Wikipedia:

Insertion sort iterates, consuming one input

PAT(A) 1088. Rational Arithmetic (20)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1088

1088. Rational Arithmetic (20)


For two rational numbers, your task is to implement the basic arithmetics