随笔分类 -  PAT

上一页 1 ··· 5 6 7 8 9
摘要:As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some ro 阅读全文
posted @ 2019-07-10 23:13 自由之翼Az 阅读(206) 评论(0) 推荐(0)
摘要:This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occu 阅读全文
posted @ 2019-07-09 20:06 自由之翼Az 阅读(228) 评论(0) 推荐(0)
摘要:Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less tha 阅读全文
posted @ 2019-07-09 19:01 自由之翼Az 阅读(205) 评论(0) 推荐(0)
摘要:题目描述 输入描述: 输出描述: 输入例子: 输出例子: 版本一: 例版本一: 版本三: 笨死了,英语理解能力不好,其实就是监测每次的输入,当输入某种颜色的个数过半,则立马输出! 阅读全文
posted @ 2019-07-09 17:16 自由之翼Az 阅读(188) 评论(0) 推荐(0)
摘要:题目描述 输入描述: 输出描述: 输入例子: 输出例子: 解题思路: 版本一: 该版本的缺陷是,当出现相同数字时,无法在中序中确定谁是根节点! 版本二: 阅读全文
posted @ 2019-07-09 16:02 自由之翼Az 阅读(162) 评论(0) 推荐(0)
摘要:题目描述 输入描述: 输出描述: 输入例子: 输出例子: 阅读全文
posted @ 2019-07-06 19:36 自由之翼Az 阅读(191) 评论(0) 推荐(0)
摘要:题目描述 输入描述: 输出描述: 输入例子: 输出例子: 阅读全文
posted @ 2019-07-06 16:23 自由之翼Az 阅读(294) 评论(0) 推荐(0)
摘要:1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 //题目贼恶心,竟然没有说出A存在的规律!!!!! 7 //首先,必须要有PAT存在,且不能有其他字符 8 //其次P与T中间A的个数乘以P之前的个数==T之后的A的个数!!!!!!!!! 9 int main() { 10 ... 阅读全文
posted @ 2019-03-18 23:49 自由之翼Az 阅读(223) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9