PAT1069. The Black Hole of Numbers

题目
For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decreasing order, a new number can be obtained by t ...

阅读更多PAT1101.Quick Sort

题目
There is a classical process named partition in the famous quick sort algorithm. In this process we typically choose one element as the pivot. Then the elements less than the pivot are moved to it ...

阅读更多PAT1093. Count PAT's

题目
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.
N ...

阅读更多PAT1025. PAT Ranking

题目
Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test is supposed to run simultaneously in several places, and the ranklis ...

阅读更多VScode的C++刷题配置

从诞生到现在，vscode已经打败了atom、sublimetext成为最强大的文本编辑器。最近在vscode上搭建了一个用于快速刷题的调试配置。主要用于编译调试单文件的c/c++文件。很适合PAT/leetcode刷题用。
安装mingw-64
下载地址：https://sourceforge.net/projects/mingw-w64/
没有看到离线安装包，因为网络环境的原因，挺容易下载失 ...

阅读更多