2021春PAT甲级满分题解
orz:第一题素数筛+暴力 注意处理n==1的情况,第二题区间贪心,算法笔记上有原题,第三题水题,注意是逐个插入建树,所以是向上调整,第四题忘了floyd怎么写的,用的n遍dijkstra7-1 Arithmetic Progression of Primes (20 分)In mathematics, an arithmetic progression (AP,等差数列) is a sequence of numbers such that the difference between the con




