原创 1071. Speech Patterns (25)【字符串操作】——PAT (Advanced Level) Practise

題目信息 1071. Speech Patterns (25) 時間限制300 ms 內存限制65536 kB 代碼長度限制16000 B People often have a preference among synony

原创 1069. The Black Hole of Numbers (20)【模擬】——PAT (Advanced Level) Practise

題目信息 1069. The Black Hole of Numbers (20) 時間限制100 ms 內存限制65536 kB 代碼長度限制16000 B For any 4-digit integer except th

原创 1075. PAT Judge (25)【排序】——PAT (Advanced Level) Practise

題目信息 1075. PAT Judge (25) 時間限制200 ms 內存限制65536 kB 代碼長度限制16000 B The ranklist of PAT is generated from the status

原创 1087. All Roads Lead to Rome (30)【最短路】——PAT (Advanced Level) Practise

題目信息 1087. All Roads Lead to Rome (30) 時間限制200 ms 內存限制65536 kB 代碼長度限制16000 B Indeed there are many different tou

原创 1082. Read Number in Chinese (25)【字符串處理】——PAT (Advanced Level) Practise

題目信息 1082. Read Number in Chinese (25) 時間限制400 ms 內存限制65536 kB 代碼長度限制16000 B Given an integer with no more than

原创 1105. Spiral Matrix (25)【模擬】——PAT (Advanced Level) Practise

題目信息 1105. Spiral Matrix (25) 時間限制150 ms 內存限制65536 kB 代碼長度限制16000 B This time your job is to fill a sequence of N po

原创 1089. Insert or Merge (25)【排序】——PAT (Advanced Level) Practise

題目信息 1089. Insert or Merge (25) 時間限制200 ms 內存限制65536 kB 代碼長度限制16000 B Insertion sort iterates, consuming one input el

原创 1103. Integer Factorization (30)【搜索+剪枝】——PAT (Advanced Level) Practise

題目信息 1103. Integer Factorization (30) 時間限制1200 ms 內存限制65536 kB 代碼長度限制16000 B The K-P factorization of a positive int

原创 1093. Count PAT's (25)【計數】——PAT (Advanced Level) Practise

題目信息 1093. Count PAT’s (25) 時間限制120 ms 內存限制65536 kB 代碼長度限制16000 B The string APPAPT contains two PAT’s as substrings

原创 1092. To Buy or Not to Buy (20)【水題】——PAT (Advanced Level) Practise

題目信息 1092. To Buy or Not to Buy (20) 時間限制100 ms 內存限制65536 kB 代碼長度限制16000 B Eva would like to make a string of beads

原创 1098. Insertion or Heap Sort (25)【排序】——PAT (Advanced Level) Practise

題目信息 1098. Insertion or Heap Sort (25) 時間限制100 ms 內存限制65536 kB 代碼長度限制16000 B According to Wikipedia: Insertion sort i

原创 1101. Quick Sort (25)【快排】——PAT (Advanced Level) Practise

題目信息 1101. Quick Sort (25) 時間限制200 ms 內存限制65536 kB 代碼長度限制16000 B There is a classical process named partition in the

原创 1096. Consecutive Factors (20)——PAT (Advanced Level) Practise

題目信息 1096. Consecutive Factors (20) 時間限制400 ms 內存限制65536 kB 代碼長度限制16000 B Among all the factors of a positive intege

原创 1100. Mars Numbers (20)【字符串處理】——PAT (Advanced Level) Practise

題目信息 1100. Mars Numbers (20) 時間限制400 ms 內存限制65536 kB 代碼長度限制16000 B People on Mars count their numbers with base 13:

原创 1088. Rational Arithmetic (20)——PAT (Advanced Level) Practise

題目信息 1088. Rational Arithmetic (20) 時間限制200 ms 內存限制65536 kB 代碼長度限制16000 B For two rational numbers, your task is to