2018年6月5日

PAT1049、1048、1047

摘要: 1049 1048 1047 1 #include <cstdio> 2 #include <cstring> 3 #include <algorithm> 4 #include <vector> 5 using namespace std; 6 7 int N, K; 8 struct peopl 阅读全文

posted @ 2018-06-05 23:38 唐宇devpro 阅读(226) 评论(0) 推荐(0) 编辑

2018年6月2日

例题3-5,例题4-2,例题4-3

摘要: 例题3-5生成元 例题4-2 刽子手游戏 例题4-3救济金发放 阅读全文

posted @ 2018-06-02 23:07 唐宇devpro 阅读(132) 评论(0) 推荐(0) 编辑

2018年5月2日

PAT甲级真题打卡:1002. A+B for Polynomials

摘要: 题目: This time, you are supposed to find A+B where A and B are two polynomials. Input Each input file contains one test case. Each case occupies 2 line 阅读全文

posted @ 2018-05-02 19:36 唐宇devpro 阅读(164) 评论(0) 推荐(0) 编辑

2018年4月24日

PAT甲级真题打卡:1001.A+B Format

摘要: 题目: 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 le 阅读全文

posted @ 2018-04-24 16:40 唐宇devpro 阅读(259) 评论(0) 推荐(0) 编辑

导航