![](https://img-blog.csdnimg.cn/2019091813595558.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
PAT甲习题
主要是PAT甲级习题及问题的求解代码
Crazy-Tony
努力成为攻城狮的码农~
展开
-
PAT甲1001:A+B Format
问题描述:Calculatea+band output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits).Input Specification:Each...原创 2020-01-31 17:14:08 · 255 阅读 · 0 评论 -
PAT甲1025:PAT Ranking
Problem Description: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 place...原创 2020-02-03 14:57:22 · 134 阅读 · 0 评论 -
PAT甲1069/乙1019:The Black Hole of Numbers/数字黑洞
Problem Discription: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 ca...原创 2020-02-04 14:26:43 · 145 阅读 · 0 评论 -
PAT甲1093/乙1040:Count PAT's/有几个PAT
Problem Discription:The stringAPPAPTcontains twoPAT'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...原创 2020-02-03 18:28:09 · 143 阅读 · 0 评论