PTA甲级——1096 1096 Consecutive FactorsAmong all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored as 3×5×6×7, where 5, 6, and 7 are the three consecu 2024-04-21 PAT甲级备考专区 #练习 #算法 #PAT #因数分解
PTA甲级——1093 1093 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 6t 2024-04-21 PAT甲级备考专区 #练习 #算法 #PAT #前缀和 #贡献法
PTA甲级——1088 1088 Rational ArithmeticFor two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference, product and quotient. Input Specification:Each input fil 2024-04-21 PAT甲级备考专区 #练习 #算法 #PAT