资源说明:浙江大学PAT题解
## PAT Online Judge(https://pintia.cn/problem-sets) [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Ftiny656%2FPAT%2Fbadge%3Fref%3Dmaster&style=flat)](https://actions-badge.atrox.dev/tiny656/PAT/goto?ref=master) :books:PAT是浙江大学计算机程序设计能力测试系统,被用于研究生机试和PAT证书资格测试 这个Project维护大部分题库的代码,其中的一些也参考过一些blog版本 代码主要语言使用`C++`, `C`, `Python`, `Java` 绝大多数代码中开头的注释写有简单的解题思路,希望对大家能有所帮助,有关研究生生活的信息,也欢迎咨询:smiley: ## 目录 - [Top-Level](#top-level) - [Advance-Level](#advance-level) - [Basic-Level](#basic-level) - [中国大学MOOC-陈越、何钦铭-数据结构-起步能力自测题](#中国大学mooc-陈越何钦铭-数据结构-起步能力自测题) - [基础编程题目集](#基础编程题目集) - [数据结构与算法题目集(中文)](#数据结构与算法题目集中文) # Top-Level | ID | Title | Code | | :--: | :--: | :--: | | 1001 | Battle Over Cities - Hard Version (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1001_Battle%20Over%20Cities%20-%20Hard%20Version%20(35).cpp) | | 1002 | Business (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1002_Business%20(35).cpp) | | 1003 | Universal Travel Sites (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1003_Universal%20Travel%20Sites%20(35).cpp) | | 1004 | To Buy or Not to Buy - Hard Version (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1004_To%20Buy%20or%20Not%20to%20Buy%20-%20Hard%20Version%20(35).cpp) | | 1005 | Programming Pattern (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1005_Programming%20Pattern%20(35).cpp) | | 1006 | Tree Traversals - Hard Version (35) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1006_Tree%20Traversals%20-%20Hard%20Version%20(35).py) | | 1007 | Red-black Tree (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1007_Red-black%20Tree%20(35).cpp) | | 1008 | Airline Routes (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1008_Airline%20Routes%20(35).cpp) | | 1009 | Triple Inversions (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1009_Triple%20Inversions%20(35).cpp) | | 1010 | Lehmer Code (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1010_Lehmer%20Code%20(35).cpp) | | 1011 | Cut Rectangles (35) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1011_Cut%20Rectangles%20(35).py) | | 1012 | Greedy Snake (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1012_Greedy%20Snake%20(35).cpp) | | 1013 | Image Segmentation (35) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1013_Image%20Segmentation%20(35).py) | | 1014 | Circles of Friends (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1014_Circles%20of%20Friends%20(35).cpp) | | 1015 | Letter-moving Game (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1015_Letter-moving%20Game%20(35).cpp) | | 1016 | Uniqueness of MST (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1016_Uniqueness%20of%20MST%20(35).cpp) | | 1017 | The Best Peak Shape (35) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1017_The%20Best%20Peak%20Shape%20(35).py) | | 1018 | Subnumbers (35) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1018_Subnumbers%20(35).py) | | 1019 | Separate the Animals (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1019_Separate%20the%20Animals%20(35).cpp) | | 1020 | Delete At Most Two Characters (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1020_Delete%20At%20Most%20Two%20Characters%20(35).cpp) | | 1021 | Safe Fruit (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1021_Safe%20Fruit%20(35).cpp) | | 1022 | Werewolf (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1022_Werewolf%20(35).cpp) | | 1023 | The Best Polygon (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1023_The%20Best%20Polygon%20(35).cpp) | | 1024 | Currency Exchange Centers (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1024_Currency%20Exchange%20Centers%20(35).cpp) | | 1025 | Keep at Most 100 Characters (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1025_Keep%20at%20Most%20100%20Characters%20(35).cpp) | | 1026 | String of Colorful Beads (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1026_String%20of%20Colorful%20Beads%20(35).cpp) | | 1027 | Larry and Inversions (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1027_Larry%20and%20Inversions%20(35).cpp) | | 1028 | Do All Roads Lead to Rome (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1028_Do%20All%20Roads%20Lead%20to%20Rome%20(35).cpp) | | 1029 | Array Cutting Score (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1029_Array%20Cutting%20Score%20(35).cpp) | | 1030 | Beautiful Subsequence (35) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Top%20Level)%20Practise/1030_Beautiful%20Subsequence%20(35).cpp) | # Advance-Level | ID | Title | Code | | :--: | :--: | :--: | | 1001 | A+B Format (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1001_A+B%20Format%20(20).cpp) | | 1002 | A+B for Polynomials (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1002_A+B%20for%20Polynomials%20(25).cpp) | | 1003 | Emergency (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1003_Emergency%20(25).cpp) | | 1004 | Counting Leaves (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1004_Counting%20Leaves%20(30).cpp) | | 1005 | Spell It Right (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1005_Spell%20It%20Right%20(20).cpp) | | 1006 | Sign In and Sign Out (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1006_Sign%20In%20and%20Sign%20Out%20(25).cpp) | | 1007 | Maximum Subsequence Sum (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1007_Maximum%20Subsequence%20Sum%20(25).cpp) | | 1008 | Elevator (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1008_Elevator%20(20).cpp) | | 1009 | Product of Polynomials (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1009_Product%20of%20Polynomials%20(25).cpp) | | 1010 | Radix (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1010_Radix%20(25).cpp) | | 1011 | World Cup Betting (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1011_World%20Cup%20Betting%20(20).cpp) | | 1012 | The Best Rank (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1012_The%20Best%20Rank%20(25).cpp) | | 1013 | Battle Over Cities (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1013_Battle%20Over%20Cities%20(25).cpp) | | 1014 | Waiting in Line (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1014_Waiting%20in%20Line%20(30).cpp) | | 1015 | Reversible Primes (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1015_Reversible%20Primes%20(20).cpp) | | 1016 | Phone Bills (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1016_Phone%20Bills%20(25).cpp) | | 1017 | Queueing at Bank (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1017_Queueing%20at%20Bank%20(25).cpp) | | 1018 | Public Bike Management (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1018_Public%20Bike%20Management%20(30).cpp) | | 1019 | General Palindromic Number (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1019_General%20Palindromic%20Number%20(20).cpp) | | 1020 | Tree Traversals (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1020_Tree%20Traversals%20(25).cpp) | | 1021 | Deepest Root (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1021_Deepest%20Root%20(25).cpp) | | 1022 | Digital Library (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1022_Digital%20Library%20(30).cpp) | | 1023 | Have Fun with Numbers (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1023_Have%20Fun%20with%20Numbers%20(20).cpp) | | 1024 | Palindromic Number (25) | [`Java`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1024_Palindromic%20Number%20(25).java) | | 1025 | PAT Ranking (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1025_PAT%20Ranking%20(25).cpp) | | 1026 | Table Tennis (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1026_Table%20Tennis%20(30).cpp) | | 1027 | Colors in Mars (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1027_Colors%20in%20Mars%20(20).cpp) | | 1028 | List Sorting (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1028_List%20Sorting%20(25).cpp) | | 1029 | Median (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1029_Median%20(25).cpp) | | 1030 | Travel Plan (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1030_Travel%20Plan%20(30).cpp) | | 1031 | Hello World for U (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1031_Hello%20World%20for%20U%20(20).cpp) | | 1032 | Sharing (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1032_Sharing%20(25).cpp) | | 1033 | To Fill or Not to Fill (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1033_To%20Fill%20or%20Not%20to%20Fill%20(25).cpp) | | 1034 | Head of a Gang (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1034_Head%20of%20a%20Gang%20(30).cpp) | | 1035 | Password (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1035_Password%20(20).cpp) | | 1036 | Boys vs Girls (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1036_Boys%20vs%20Girls%20(25).cpp) | | 1037 | Magic Coupon (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1037_Magic%20Coupon%20(25).cpp) | | 1038 | Recover the Smallest Number (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1038_Recover%20the%20Smallest%20Number%20(30).cpp) | | 1039 | Course List for Student (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1039_Course%20List%20for%20Student%20(25).cpp) | | 1040 | Longest Symmetric String (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1040_Longest%20Symmetric%20String%20(25).cpp) | | 1041 | Be Unique (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1041_Be%20Unique%20(20).cpp) | | 1042 | Shuffling Machine (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1042_Shuffling%20Machine%20(20).cpp) | | 1043 | Is It a Binary Search Tree (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1043_Is%20It%20a%20Binary%20Search%20Tree%20(25).cpp) | | 1044 | Shopping in Mars (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1044_Shopping%20in%20Mars%20(25).cpp) | | 1045 | Favorite Color Stripe (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1045_Favorite%20Color%20Stripe%20(30).cpp) | | 1046 | Shortest Distance (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1046_Shortest%20Distance%20(20).cpp) | | 1047 | Student List for Course (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1047_Student%20List%20for%20Course%20(25).cpp) | | 1048 | Find Coins (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1048_Find%20Coins%20(25).cpp) | | 1049 | Counting Ones (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1049_Counting%20Ones%20(30).cpp) | | 1050 | String Subtraction (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1050_String%20Subtraction%20%20(20).cpp) | | 1051 | Pop Sequence (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1051_Pop%20%20Sequence%20(25).cpp) | | 1052 | Linked List Sorting (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1052_Linked%20List%20Sorting%20(25).cpp) | | 1053 | Path of Equal Weight (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1053_Path%20of%20Equal%20Weight%20(30).cpp) | | 1054 | The Dominant Color (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1054_The%20Dominant%20Color%20(20).cpp) | | 1055 | The World's Richest (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1055_The%20World's%20Richest%20(25).cpp) | | 1056 | Mice and Rice (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1056_Mice%20and%20Rice%20(25).cpp) | | 1057 | Stack (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1057_Stack%20(30).cpp) | | 1058 | A+B in Hogwarts (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1058_A+B%20in%20Hogwarts%20(20).cpp) | | 1059 | Prime Factors (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1059_Prime%20Factors%20(25).cpp) | | 1060 | Are They Equal (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1060_Are%20They%20Equal%20(25).cpp) | | 1061 | Dating (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1061_Dating%20(20).cpp) | | 1062 | Talent and Virtue (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1062_Talent%20and%20Virtue%20(25).cpp) | | 1063 | Set Similarity (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1063_Set%20Similarity%20(25).cpp) | | 1064 | Complete Binary Search Tree (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1064_Complete%20Binary%20Search%20Tree%20(30).cpp) | | 1065 | A+B and C (64bit) (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1065_A+B%20and%20C%20(64bit)%20(20).cpp) | | 1066 | Root of AVL Tree (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1066_Root%20of%20AVL%20Tree%20(25).cpp) | | 1067 | Sort with Swap(0,) (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1067_Sort%20with%20Swap(0,)%20(25).cpp) | | 1068 | Find More Coins (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1068_Find%20More%20Coins%20(30).cpp) | | 1069 | The Black Hole of Numbers (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1069_The%20Black%20Hole%20of%20Numbers%20(20).cpp) | | 1070 | Mooncake (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1070_Mooncake%20(25).cpp) | | 1071 | Speech Patterns (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1071_Speech%20Patterns%20(25).cpp) | | 1072 | Gas Station (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1072_Gas%20Station%20(30).cpp) | | 1073 | Scientific Notation (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1073_Scientific%20Notation%20(20).cpp) | | 1074 | Reversing Linked List (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1074_Reversing%20Linked%20List%20(25).cpp) | | 1075 | PAT Judge (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1075_PAT%20Judge%20(25).cpp) | | 1076 | Forwards on Weibo (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1076_Forwards%20on%20Weibo%20(30).cpp) | | 1077 | Kuchiguse (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1077_Kuchiguse%20(20).cpp) | | 1078 | Hashing (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1078_Hashing%20(25).cpp) | | 1079 | Total Sales of Supply Chain (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1079_Total%20Sales%20of%20Supply%20Chain%20(25).cpp) | | 1080 | Graduate Admission (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1080_Graduate%20Admission%20(30).cpp) | | 1081 | Rational Sum (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1081_Rational%20Sum%20(20).cpp) | | 1082 | Read Number in Chinese (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1082_Read%20Number%20in%20Chinese%20(25).cpp) | | 1083 | List Grades (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1083_List%20Grades%20(25).cpp) | | 1084 | Broken Keyboard (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1084_Broken%20Keyboard%20(20).py) | | 1085 | Perfect Sequence (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1085_Perfect%20Sequence%20(25).cpp) | | 1086 | Tree Traversals Again (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1086_Tree%20Traversals%20Again%20(25).cpp) | | 1087 | All Roads Lead to Rome (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1087_All%20Roads%20Lead%20to%20Rome%20(30).cpp) | | 1088 | Rational Arithmetic (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1088_Rational%20Arithmetic%20(20).cpp) | | 1089 | Insert or Merge (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1089_Insert%20or%20Merge%20(25).cpp) | | 1090 | Highest Price in Supply Chain (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1090_Highest%20Price%20in%20Supply%20Chain%20(25).cpp)[`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1090_Highest%20Price%20in%20Supply%20Chain%20(25).py) | | 1091 | Acute Stroke (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1091_Acute%20Stroke%20(30).cpp) | | 1092 | To Buy or Not to Buy (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1092_To%20Buy%20or%20Not%20to%20Buy%20(20).cpp) | | 1093 | Count PAT's (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1093_Count%20PAT's%20(25).cpp) | | 1094 | The Largest Generation (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1094_The%20Largest%20Generation%20(25).cpp) | | 1095 | Cars on Campus (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1095_Cars%20on%20Campus%20(30).cpp) | | 1096 | Consecutive Factors (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1096_Consecutive%20Factors%20(20).cpp) | | 1097 | Deduplication on a Linked List (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1097_Deduplication%20on%20a%20Linked%20List%20(25).cpp) | | 1098 | Insertion or Heap Sort (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1098_Insertion%20or%20Heap%20Sort%20(25).cpp) | | 1099 | Build A Binary Search Tree (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1099_Build%20A%20Binary%20Search%20Tree%20(30).cpp) | | 1100 | Mars Numbers (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1100_Mars%20Numbers%20(20).py) | | 1101 | Quick Sort (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1101_Quick%20Sort%20(25).cpp) | | 1102 | Invert a Binary Tree (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1102_Invert%20a%20Binary%20Tree%20(25).cpp) | | 1103 | Integer Factorization (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1103_Integer%20Factorization%20(30).cpp) | | 1104 | Sum of Number Segments (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1104_Sum%20of%20Number%20Segments%20(20).py) | | 1105 | Spiral Matrix (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1105_Spiral%20Matrix%20(25).cpp) | | 1106 | Lowest Price in Supply Chain (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1106_Lowest%20Price%20in%20Supply%20Chain%20(25).cpp) | | 1107 | Social Clusters (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1107_Social%20Clusters%20(30).cpp) | | 1108 | Find Average (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1108_Find%20Average%20(20).cpp) | | 1109 | Group Photo (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1109_Group%20Photo%20(25).cpp) | | 1110 | Complete Binary Tree (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1110_Complete%20Binary%20Tree%20(25).cpp) | | 1111 | Online Map (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1111_Online%20Map%20(30).cpp) | | 1112 | Stucked Keyboard (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1112_Stucked%20Keyboard%20(20).cpp) | | 1113 | Integer Set Partition (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1113_Integer%20Set%20Partition%20(25).cpp) | | 1114 | Family Property (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1114_Family%20Property%20(25).cpp) | | 1115 | Counting Nodes in a BST (30) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1115_Counting%20Nodes%20in%20a%20BST%20(30).py) | | 1116 | Come on! Let's C (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1116_Come%20on!%20Let's%20C%20(20).py) | | 1117 | Eddington Number(25) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1117_Eddington%20Number(25).py) | | 1118 | Birds in Forest (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1118_Birds%20in%20Forest%20(25).py) | | 1119 | Pre- and Post-order Traversals (30) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1119_Pre-%20and%20Post-order%20Traversals%20(30).py) | | 1120 | Friend Numbers (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1120_Friend%20Numbers%20(20).py) | | 1121 | Damn Single (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1121_Damn%20Single%20(25).py) | | 1122 | Hamiltonian Cycle (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1122_Hamiltonian%20Cycle%20(25).py) | | 1123 | Is It a Complete AVL Tree (30) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1123_Is%20It%20a%20Complete%20AVL%20Tree%20(30).py) | | 1124 | Raffle for Weibo Followers (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1124_Raffle%20for%20Weibo%20Followers%20(20).py) | | 1125 | Chain the Ropes (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1125_Chain%20the%20Ropes%20(25).py) | | 1126 | Eulerian Path (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1126_Eulerian%20Path%20(25).cpp) | | 1127 | ZigZagging on a Tree (30) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1127_ZigZagging%20on%20a%20Tree%20(30).py) | | 1128 | N Queens Puzzle (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1128_N%20Queens%20Puzzle%20(20).cpp) | | 1129 | Recommendation System (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1129_Recommendation%20System%20(25).cpp) | | 1130 | Infix Expression (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1130_Infix%20Expression%20(25).py) | | 1131 | Subway Map (30) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1131_Subway%20Map%20(30).py) | | 1132 | Cut Integer (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1132_Cut%20Integer%20(20).py) | | 1133 | Splitting A Linked List (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1133_Splitting%20A%20Linked%20List%20(25).cpp) | | 1134 | Vertex Cover (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1134_Vertex%20Cover%20(25).py) | | 1135 | Is It A Red-Black Tree (30) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1135_Is%20It%20A%20Red-Black%20Tree%20(30).py) | | 1136 | A Delayed Palindrome (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1136_A%20Delayed%20Palindrome%20(20).py) | | 1137 | Final Grading (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1137_Final%20Grading%20(25).cpp) | | 1138 | Postorder Traversal (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1138_Postorder%20Traversal%20(25).cpp) | | 1139 | First Contact (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1139_First%20Contact%20(30).cpp) | | 1140 | Look-and-say Sequence (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1140_Look-and-say%20Sequence%20(20).cpp) | | 1141 | PAT Ranking of Institutions (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1141_PAT%20Ranking%20of%20Institutions%20(25).cpp) | | 1142 | Maximal Clique (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1142_Maximal%20Clique%20(25).cpp) | | 1143 | Lowest Common Ancestor (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1143_Lowest%20Common%20Ancestor%20(30).cpp) | | 1144 | The Missing Number (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1144_The%20Missing%20Number%20(20).cpp) | | 1145 | Hashing - Average Search Time (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1145_Hashing%20-%20Average%20Search%20Time%20(25).cpp) | | 1146 | Topological Order (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1146_Topological%20Order%20(25).cpp) | | 1147 | Heaps (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1147_Heaps%20(30).cpp) | | 1148 | Werewolf - Simple Version (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1148_Werewolf%20-%20Simple%20Version%20(20).cpp) | | 1149 | Dangerous Goods Packaging (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1149_Dangerous%20Goods%20Packaging%20(25).cpp) | | 1150 | Travelling Salesman Problem (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1150_Travelling%20Salesman%20Problem%20(25).cpp) | | 1151 | LCA in a Binary Tree (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1151_LCA%20in%20a%20Binary%20Tree%20(30).cpp) | | 1152 | Google Recruitment (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1152_Google%20Recruitment%20(20).cpp) | | 1153 | Decode Registration Card of PAT (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1153_Decode%20Registration%20Card%20of%20PAT%20(25).cpp) | | 1154 | Vertex Coloring (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1154_Vertex%20Coloring%20(25).cpp) | | 1155 | Heap Paths (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1155_Heap%20Paths%20(30).cpp) | | 1156 | Sexy Primes (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1156_Sexy%20Primes%20(20).py) | | 1157 | Anniversary (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1157_Anniversary%20(25).py) | | 1158 | Telefraud Detection (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1158_Telefraud%20Detection%20(25).cpp) | | 1159 | Structure of a Binary Tree (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1159_Structure%20of%20a%20Binary%20Tree%20(30).cpp) | | 1160 | Forever (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1160_Forever%20(20).py) | | 1161 | Merging Linked Lists (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1161_Merging%20Linked%20Lists%20(25).cpp) | | 1162 | Postfix Expression (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1162_Postfix%20Expression%20(25).cpp) | | 1163 | Dijkstra Sequence (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1163_Dijkstra%20Sequence%20(30).cpp) | | 1164 | Good in C (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1164_Good%20in%20C%20(20).py) | | 1165 | Block Reversing (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1165_Block%20Reversing%20(25).cpp) | | 1166 | Summit (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1166_Summit%20(25).cpp) | | 1167 | Cartesian Tree (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Advanced%20Level)%20Practise/1167_Cartesian%20Tree%20(30).cpp) | # Basic-Level | ID | Title | Code | | :--: | :--: | :--: | | 1001 | 害死人不偿命的(3n+1)猜想 (15) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1001_害死人不偿命的(3n+1)猜想%20(15).cpp) | | 1002 | 写出这个数 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1002_写出这个数%20(20).cpp) | | 1003 | 我要通过!(20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1003_我要通过!(20).cpp) | | 1004 | 成绩排名 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1004_成绩排名%20(20).cpp) | | 1005 | 继续(3n+1)猜想 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1005_继续(3n+1)猜想%20(25).cpp) | | 1006 | 换个格式输出整数 (15) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1006_换个格式输出整数%20(15).cpp) | | 1007 | 素数对猜想 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1007_素数对猜想%20(20).cpp) | | 1008 | 数组元素循环右移问题 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1008_数组元素循环右移问题%20(20).cpp) | | 1009 | 说反话 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1009_说反话%20(20).cpp) | | 1010 | 一元多项式求导 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1010_一元多项式求导%20(25).cpp) | | 1011 | A+B和C (15) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1011_A+B和C%20(15).cpp) | | 1012 | 数字分类 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1012_数字分类%20(20).cpp) | | 1013 | 数素数 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1013_数素数%20(20).cpp) | | 1014 | 福尔摩斯的约会 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1014_福尔摩斯的约会%20(20).cpp) | | 1015 | 德才论 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1015_德才论%20(25).cpp) | | 1016 | 部分A+B (15) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1016_部分A+B%20(15).cpp) | | 1017 | A除以B (20) | [`Java`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1017_A除以B%20(20).java) | | 1018 | 锤子剪刀布 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1018_锤子剪刀布%20(20).cpp) | | 1019 | 数字黑洞 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1019_数字黑洞%20(20).cpp) | | 1020 | 月饼 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1020_月饼%20(25).cpp) | | 1021 | 个位数统计 (15) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1021_个位数统计%20(15).cpp) | | 1022 | D进制的A+B (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1022_D进制的A+B%20(20).cpp) | | 1023 | 组个最小数 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1023_组个最小数%20(20).cpp) | | 1024 | 科学计数法 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1024_科学计数法%20(20).cpp) | | 1025 | 反转链表 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1025_反转链表%20(25).cpp) | | 1026 | 程序运行时间 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1026_程序运行时间%20(15).py) | | 1027 | 打印沙漏 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1027_打印沙漏%20(20).py) | | 1028 | 人口普查 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1028_人口普查%20(20).cpp) | | 1029 | 旧键盘 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1029_旧键盘%20(20).py) | | 1030 | 完美数列 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1030_完美数列%20(25).cpp) | | 1031 | 查验身份证 (15) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1031_查验身份证%20(15).cpp) | | 1032 | 挖掘机技术哪家强 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1032_挖掘机技术哪家强%20(20).cpp) | | 1033 | 旧键盘打字 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1033_旧键盘打字%20(20).cpp) | | 1034 | 有理数四则运算 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1034_有理数四则运算%20(20).cpp) | | 1035 | 插入与归并 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1035_插入与归并%20(25).cpp) | | 1036 | 跟奥巴马一起编程(15) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1036_跟奥巴马一起编程(15).cpp) | | 1037 | 在霍格沃茨找零钱(20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1037_在霍格沃茨找零钱(20).cpp) | | 1038 | 统计同成绩学生(20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1038_统计同成绩学生(20).cpp) | | 1039 | 到底买不买(20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1039_到底买不买(20).cpp) | | 1040 | 有几个PAT(25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1040_有几个PAT(25).cpp) | | 1041 | 考试座位号(15) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1041_考试座位号(15).cpp) | | 1042 | 字符统计(20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1042_字符统计(20).cpp) | | 1043 | 输出PATest(20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1043_输出PATest(20).cpp) | | 1044 | 火星数字(20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1044_火星数字(20).cpp) | | 1045 | 快速排序(25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1045_快速排序(25).cpp) | | 1046 | 划拳(15) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1046_划拳(15).py) | | 1047 | 编程团体赛(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1047_编程团体赛(20).py) | | 1048 | 数字加密(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1048_数字加密(20).py) | | 1049 | 数列的片段和(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1049_数列的片段和(20).py) | | 1050 | 螺旋矩阵(25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1050_螺旋矩阵(25).cpp) | | 1051 | 复数乘法(15) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1051_复数乘法(15).cpp) | | 1052 | 卖个萌 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1052_卖个萌%20(20).cpp) | | 1053 | 住房空置率(20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1053_住房空置率(20).cpp) | | 1054 | 求平均值(20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1054_求平均值(20).cpp) | | 1055 | 集体照(25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1055_集体照(25).cpp) | | 1056 | 组合数的和(15) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1056_组合数的和(15).py) | | 1057 | 数零壹(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1057_数零壹(20).py) | | 1058 | 选择题(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1058_选择题(20).py) | | 1059 | C语言竞赛(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1059_C语言竞赛(20).py) | | 1060 | 爱丁顿数(25) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1060_爱丁顿数(25).py) | | 1061 | 判断题(15) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1061_判断题(15).py) | | 1062 | 最简分数(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1062_最简分数(20).py) | | 1063 | 计算谱半径(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1063_计算谱半径(20).py) | | 1064 | 朋友数(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1064_朋友数(20).py) | | 1065 | 单身狗(25) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1065_单身狗(25).py) | | 1066 | 图像过滤(15) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1066_图像过滤(15).py) | | 1067 | 试密码(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1067_试密码(20).py) | | 1068 | 万绿丛中一点红(20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1068_万绿丛中一点红(20).cpp) | | 1069 | 微博转发抽奖(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1069_微博转发抽奖(20).py) | | 1070 | 结绳(25) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1070_结绳(25).py) | | 1071 | 小赌怡情(15) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1071_小赌怡情(15).py) | | 1072 | 开学寄语(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1072_开学寄语(20).py) | | 1073 | 多选题常见计分法(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1073_多选题常见计分法(20).py) | | 1074 | 宇宙无敌加法器(20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1074_宇宙无敌加法器(20).py) | | 1075 | 链表元素分类(25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1075_链表元素分类(25).cpp) | | 1076 | Wifi密码 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1076_Wifi密码%20(15).py) | | 1077 | 互评成绩计算 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1077_互评成绩计算%20(20).py) | | 1078 | 字符串压缩与解压 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1078_字符串压缩与解压%20(20).py) | | 1079 | 延迟的回文数 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1079_延迟的回文数%20(20).py) | | 1080 | MOOC期终成绩 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1080_MOOC期终成绩%20(25).cpp) | | 1081 | 检查密码 (15) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1081_检查密码%20(15).cpp) | | 1082 | 射击比赛 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1082_射击比赛%20(20).cpp) | | 1083 | 是否存在相等的差 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1083_是否存在相等的差%20(20).cpp) | | 1084 | 外观数列 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1084_外观数列%20(20).cpp) | | 1085 | PAT单位排行 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1085_PAT单位排行%20(25).cpp) | | 1086 | 就不告诉你 (15) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1086_就不告诉你%20(15).cpp) | | 1087 | 有多少不同的值 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1087_有多少不同的值%20(20).cpp) | | 1088 | 三人行 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1088_三人行%20(20).cpp) | | 1089 | 狼人杀-简单版 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1089_狼人杀-简单版%20(20).cpp) | | 1090 | 危险品装箱 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1090_危险品装箱%20(25).cpp) | | 1091 | N-自守数 (15) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1091_N-自守数%20(15).cpp) | | 1092 | 最好吃的月饼 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1092_最好吃的月饼%20(20).cpp) | | 1093 | 字符串A+B (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1093_字符串A+B%20(20).cpp) | | 1094 | 谷歌的招聘 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1094_谷歌的招聘%20(20).cpp) | | 1095 | 解码PAT准考证 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1095_解码PAT准考证%20(25).cpp) | | 1096 | 大美数 (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1096_大美数%20(25).py) | | 1097 | 矩阵行平移 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1097_矩阵行平移%20(20).py) | | 1098 | 岩洞施工 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1098_岩洞施工%20(20).py) | | 1099 | 性感素数 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1099_性感素数%20(20).py) | | 1100 | 校庆 (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1100_校庆%20(25).py) | | 1101 | B是A的多少倍 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1101_B是A的多少倍%20(15).py) | | 1102 | 教超冠军卷 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1102_教超冠军卷%20(20).py) | | 1103 | 缘分数 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1103_缘分数%20(20).py) | | 1104 | 天长地久 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1104_天长地久%20(20).py) | | 1105 | 链表合并 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1105_链表合并%20(25).cpp) | | 1106 | 2019数列 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1106_2019数列%20(15).py) | | 1107 | 老鼠爱大米 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1107_老鼠爱大米%20(20).py) | | 1108 | String复读机 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1108_String复读机%20(20).py) | | 1109 | 擅长C (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1109_擅长C%20(20).py) | | 1110 | 区块反转 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/PAT%20(Basic%20Level)%20Practise%20(中文)/1110_区块反转%20(25).cpp) | # 中国大学MOOC-陈越、何钦铭-数据结构-起步能力自测题 | ID | Title | Code | | :--: | :--: | :--: | | 自测-1 | 打印沙漏 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/中国大学MOOC-陈越、何钦铭-数据结构-起步能力自测题/自测-1_打印沙漏%20(20).py) | | 自测-2 | 素数对猜想 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/中国大学MOOC-陈越、何钦铭-数据结构-起步能力自测题/自测-2_素数对猜想%20(20).py) | | 自测-3 | 数组元素循环右移问题 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/中国大学MOOC-陈越、何钦铭-数据结构-起步能力自测题/自测-3_数组元素循环右移问题%20(20).py) | | 自测-4 | Have Fun with Numbers (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/中国大学MOOC-陈越、何钦铭-数据结构-起步能力自测题/自测-4_Have%20Fun%20with%20Numbers%20(20).py) | | 自测-5 | Shuffling Machine (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/中国大学MOOC-陈越、何钦铭-数据结构-起步能力自测题/自测-5_Shuffling%20Machine%20(20).py) | # 基础编程题目集 | ID | Title | Code | | :--: | :--: | :--: | | 6-1 | 简单输出整数 (10) | [`C`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/6-1_简单输出整数%20(10).c) | | 6-2 | 多项式求值 (20) | [`C`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/6-2_多项式求值%20(20).c) | | 6-3 | 简单求和 (10) | [`C`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/6-3_简单求和%20(10).c) | | 6-4 | 求自定类型元素的平均 (10) | [`C`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/6-4_求自定类型元素的平均%20(10).c) | | 6-5 | 求自定类型元素的最大值 (10) | [`C`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/6-5_求自定类型元素的最大值%20(10).c) | | 6-6 | 求单链表结点的阶乘和 (15) | [`C`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/6-6_求单链表结点的阶乘和%20(15).c) | | 6-7 | 统计某类完全平方数 (20) | [`C`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/6-7_统计某类完全平方数%20(20).c) | | 6-8 | 简单阶乘计算 (10) | [`C`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/6-8_简单阶乘计算%20(10).c) | | 6-9 | 统计个位数字 (15) | [`C`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/6-9_统计个位数字%20(15).c) | | 6-10 | 阶乘计算升级版 (20) | [`C`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/6-10_阶乘计算升级版%20(20).c) | | 6-11 | 求自定类型元素序列的中位数 (25) | [`C`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/6-11_求自定类型元素序列的中位数%20(25).c) | | 6-12 | 判断奇偶性 (10) | [`C`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/6-12_判断奇偶性%20(10).c) | | 6-13 | 折半查找 (15) | [`C`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/6-13_折半查找%20(15).c) | | 7-1 | 厘米换算英尺英寸 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-1_厘米换算英尺英寸%20(15).py) | | 7-2 | 然后是几点 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-2_然后是几点%20(15).py) | | 7-3 | 逆序的三位数 (10) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-3_逆序的三位数%20(10).py) | | 7-4 | BCD解密 (10) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-4_BCD解密%20(10).py) | | 7-5 | 表格输出 (5) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-5_表格输出%20(5).py) | | 7-6 | 混合类型数据格式化输入 (5) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-6_混合类型数据格式化输入%20(5).py) | | 7-7 | 12-24小时制 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-7_12-24小时制%20(15).py) | | 7-8 | 超速判断 (10) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-8_超速判断%20(10).py) | | 7-9 | 用天平找小球 (10) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-9_用天平找小球%20(10).py) | | 7-10 | 计算工资 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-10_计算工资%20(15).py) | | 7-11 | 分段计算居民水费 (10) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-11_分段计算居民水费%20(10).py) | | 7-12 | 两个数的简单计算器 (10) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-12_两个数的简单计算器%20(10).py) | | 7-13 | 日K蜡烛图 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-13_日K蜡烛图%20(15).py) | | 7-14 | 求整数段和 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-14_求整数段和%20(15).py) | | 7-15 | 计算圆周率 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-15_计算圆周率%20(15).py) | | 7-16 | 求符合给定条件的整数集 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-16_求符合给定条件的整数集%20(15).py) | | 7-17 | 爬动的蠕虫 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-17_爬动的蠕虫%20(15).py) | | 7-18 | 二分法求多项式单根 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-18_二分法求多项式单根%20(20).py) | | 7-19 | 支票面额 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-19_支票面额%20(15).py) | | 7-20 | 打印九九口诀表 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-20_打印九九口诀表%20(15).py) | | 7-21 | 求特殊方程的正整数解 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-21_求特殊方程的正整数解%20(15).py) | | 7-22 | 龟兔赛跑 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-22_龟兔赛跑%20(20).py) | | 7-23 | 币值转换 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-23_币值转换%20(20).py) | | 7-24 | 约分最简分式 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-24_约分最简分式%20(15).py) | | 7-25 | 念数字 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-25_念数字%20(15).py) | | 7-26 | 单词长度 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-26_单词长度%20(15).py) | | 7-27 | 冒泡法排序 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-27_冒泡法排序%20(20).py) | | 7-28 | 猴子选大王 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-28_猴子选大王%20(20).py) | | 7-29 | 删除字符串中的子串 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-29_删除字符串中的子串%20(20).py) | | 7-30 | 字符串的冒泡排序 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-30_字符串的冒泡排序%20(20).py) | | 7-31 | 字符串循环左移 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-31_字符串循环左移%20(20).py) | | 7-32 | 说反话-加强版 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-32_说反话-加强版%20(20).py) | | 7-33 | 有理数加法 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-33_有理数加法%20(15).py) | | 7-34 | 通讯录的录入与显示 (10) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-34_通讯录的录入与显示%20(10).py) | | 7-35 | 有理数均值 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-35_有理数均值%20(20).py) | | 7-36 | 复数四则运算 (15) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-36_复数四则运算%20(15).py) | | 7-37 | 整数分解为若干项之和 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-37_整数分解为若干项之和%20(20).py) | | 7-38 | 数列求和-加强版 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/基础编程题目集/7-38_数列求和-加强版%20(20).py) | # 数据结构与算法题目集(中文) | ID | Title | Code | | :--: | :--: | :--: | | 6-1 | 单链表逆转 (20) | [`C`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/6-1_单链表逆转%20(20).c) | | 6-2 | 顺序表操作集 (20) | [`C`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/6-2_顺序表操作集%20(20).c) | | 6-3 | 求链式表的表长 (10) | [`C`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/6-3_求链式表的表长%20(10).c) | | 6-4 | 链式表的按序号查找 (10) | [`C`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/6-4_链式表的按序号查找%20(10).c) | | 6-5 | 链式表操作集 (20) | [`C`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/6-5_链式表操作集%20(20).c) | | 6-6 | 带头结点的链式表操作集 (20) | [`C`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/6-6_带头结点的链式表操作集%20(20).c) | | 6-7 | 在一个数组中实现两个堆栈 (20) | [`C`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/6-7_在一个数组中实现两个堆栈%20(20).c) | | 6-8 | 求二叉树高度 (20) | [`C`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/6-8_求二叉树高度%20(20).c) | | 6-9 | 二叉树的遍历 (25) | [`C`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/6-9_二叉树的遍历%20(25).c) | | 6-10 | 二分查找 (20) | [`C`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/6-10_二分查找%20(20).c) | | 6-11 | 先序输出叶结点 (15) | [`C`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/6-11_先序输出叶结点%20(15).c) | | 6-12 | 二叉搜索树的操作集 (30) | [`C`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/6-12_二叉搜索树的操作集%20(30).c) | | 7-1 | 最大子列和问题 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-1_最大子列和问题%20(20).py) | | 7-2 | 一元多项式的乘法与加法运算 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-2_一元多项式的乘法与加法运算%20(20).py) | | 7-3 | 树的同构 (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-3_树的同构%20(25).py) | | 7-4 | 是否同一棵二叉搜索树 (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-4_是否同一棵二叉搜索树%20(25).py) | | 7-5 | 堆中的路径 (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-5_堆中的路径%20(25).py) | | 7-6 | 列出连通集 (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-6_列出连通集%20(25).py) | | 7-7 | 六度空间 (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-7_六度空间%20(30)%20.cpp) | | 7-8 | 哈利·波特的考试 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-8_哈利·波特的考试%20(25).cpp) | | 7-9 | 旅游规划 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-9_旅游规划%20(25).cpp) | | 7-10 | 公路村村通 (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-10_公路村村通%20(30).cpp) | | 7-11 | 关键活动 (30) | [`C++`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-11_关键活动%20(30).cpp) | | 7-12 | 排序 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-12_排序%20(25).cpp) | | 7-13 | 统计工龄 (20) | [`Python`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-13_统计工龄%20(20).py) | | 7-14 | 电话聊天狂人 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-14_电话聊天狂人%20(25).cpp) | | 7-16 | 一元多项式求导 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-16_一元多项式求导%20(20).cpp) | | 7-17 | 汉诺塔的非递归实现 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-17_汉诺塔的非递归实现%20(25).cpp) | | 7-18 | 银行业务队列简单模拟 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-18_银行业务队列简单模拟%20(25).cpp) | | 7-19 | 求链式线性表的倒数第K项 (20) | [`C++`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-19_求链式线性表的倒数第K项%20(20).cpp) | | 7-21 | 求前缀表达式的值 (25) | [`Python`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-21_求前缀表达式的值%20(25).py) | | 7-22 | 堆栈模拟队列 (25) | [`C++`](https://github.com/tiny656/PAT/blob/master/数据结构与算法题目集(中文)/7-22_堆栈模拟队列%20(25).cpp) | | 7-23 | 还原
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。