![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
文章平均质量分 93
Catherine_he_ye
愿付出与得到成正比,愿所爱成为所求
展开
-
PAT 错题标记
背包问题贪心算法排序问题树问题图问题数论问题溢出问题要细心系列原创 2022-07-09 00:10:59 · 206 阅读 · 0 评论 -
PAT 第四周*(1058-1060)
1058 A+B in Hogwarts (20 分)1059 Prime Factors (25 分)1060 Are They Equal (25 分)原创 2022-02-15 16:53:51 · 749 阅读 · 0 评论 -
PAT 第三周*(1039-1041)
这几天玩的很嗨,和家里人好好耍了一趟,准备回校的片刻,又觉得超级无聊(剧更新的都追完了呜,就挑了几道不能构成一组的题目打发时间,马上下午就要踏上去南京回校的动车了。目录1039 Course List for Student (25 分)1040 Longest Symmetric String (25 分)1041 Be Unique (20 分)1039 Course List for Student (25 分)Zhejiang University has 4000..原创 2022-02-13 12:51:34 · 266 阅读 · 0 评论 -
PAT 第三周(1011-1014)
是沉迷奥运的一周,目前中国队三金,真的大爱武大靖,加油!话不多说,这周的四道题,主要是后两题卡测试点,不至于做不出来。目录1011 World Cup Betting1012 The Best Rank1013 Battle Over Cities1014 Waiting in Line1011 World Cup BettingWith the 2010 FIFA World Cup running, football fans the world over w...原创 2022-02-09 16:35:07 · 386 阅读 · 0 评论 -
PAT 第二周 (1005-1010)
稍微熟练后又遇上这周的题目很是简单,观察了这两天做的六道题并不是一组,都是较简单的题,简单整理一下。1005 Spell It RightGiven a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English.Input Specification:Each input file contains.原创 2022-02-03 12:29:31 · 770 阅读 · 0 评论 -
PAT 第一周(1001-1004)
1001 A+B FormatCalculate and 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 input file contains one test case. Each case con.原创 2022-01-31 16:55:59 · 732 阅读 · 0 评论 -
算法设计与分析(整理)
2021年春-算法课我与作业题库的爱恨情仇我可没记住这个简朴的提交网站:http://47.99.179.148/有一个很蠢的坦白,我以为这个简陋的网站,提交时不会允许我们用algorithm库,所有排序我都复制一遍快排,所以当我发现可以用时,之前的冗长代码也没有继续管他,所以看上去比较蠢。这题我愣是记住了它的题号1007,我还长江七号呢,也可能是自己傻里巴巴的,longlong可以解决的,还以为要高精,记得那天晚上弄到凌晨一点还没弄好,不过有天突然发现自己longlong其实有个笨蛋错误(清零没原创 2021-04-06 00:24:14 · 4861 阅读 · 12 评论