![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PAT甲级题解
遇见更好的自己.jpg
苦逼跨专业考研狗,主要分享一下日常经验和相关题解,让后来的学弟学妹们少受折磨。。。。。
展开
-
2019春季PAT甲级题解
2019春季PAT甲级7-1 Sexy PrimeSexy primes are pairs of primes of the form (p, p+6), so-named since “sex” is the Latin word for “six”. (Quoted from http://mathworld.wolfram.com/SexyPrimes.html)Now given a...原创 2019-08-29 21:16:23 · 1227 阅读 · 6 评论 -
PAT甲级A1036 Boys vs Girls
PAT甲级A1036 Boys vs Girls题目:This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students.Input Specification:Eac...原创 2019-09-15 23:12:36 · 139 阅读 · 0 评论 -
PAT甲级A1011 World Cup Betting
PAT甲级A1011 World Cup Betting题目:With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing battles for the Wor...原创 2019-09-14 22:59:38 · 127 阅读 · 0 评论 -
PAT甲级A1009 Product of Polynomials
PAT甲级A1009 Product of Polynomials题目: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 occupies 2 lines...原创 2019-09-14 22:55:52 · 135 阅读 · 0 评论 -
2019秋季PAT甲级题解
7-1 Forever题目:“Forever number” is a positive integer A with K digits, satisfying the following constrains:the sum of all the digits of A is m;the sum of all the digits of A+1 is n; andthe greates...原创 2019-09-11 23:31:58 · 1114 阅读 · 0 评论 -
PAT甲级A1002 A+B for Polynomials
PAT甲级A1002 A+B for Polynomials题目: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 occupies 2 lines, a...原创 2019-09-11 23:15:42 · 266 阅读 · 0 评论 -
PAT甲级A1065 A+B and C (64bit)
PAT甲级A1065 A+B and C (64bit)题目:Given three integers A, B and C in [−2^63,2 ^63], you are supposed to tell whether A+B>C.Input Specification:The first line of the input gives the positive nu...原创 2019-09-11 22:59:16 · 136 阅读 · 0 评论 -
PAT甲级A1042 Shuaffling Machine
PAT甲级A1042 Shuaffling Machine题目:Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid “inside jobs” where ...原创 2019-09-10 23:11:40 · 127 阅读 · 0 评论 -
PAT甲级A1046 Shortest Distance
PAT甲级A1046 Shortest Distance题目The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of exits.Input Specif...原创 2019-09-10 23:00:10 · 149 阅读 · 0 评论 -
PAT甲级题解目录
PAT甲级题解目录写在前面9月8好刚参加了第一次PAT甲级考试,成绩还算是满意。但是没有满分,算是有一点小遗憾,于是打算12月再来一次,但是这次才用佛系备考与吃老本的复习方法。为了记录一下成长历程和各题要点,顺便做一个博客题解,也给有需要的战友们提供一个参考吧。本博客纯属个人记录与经验分享,不带任何功利意识,所以制作可能比较粗糙。按照佛系的原则,水题一概略过。目录题号标题...原创 2019-09-10 23:01:11 · 318 阅读 · 0 评论 -
PAT顶级1022 Werewolf(甲级1148升级版)
PAT顶级1022 Werewolf(甲级1148升级版)题目:Werewolf(狼人杀) is a game in which the players are partitioned into two parties: the werewolves and the human beings. Suppose that in a game,player #1 said: “Player #2...原创 2019-09-06 09:48:30 · 1456 阅读 · 0 评论 -
2019年3月浙大考研机试题解
2019浙大考研机试题解第一题:Conway’s Conjecture题目:John Horton Conway, a British mathematician active in recreational mathematics, proposed a conjecture in 2014: arrange the factors of any given number in ascen...原创 2019-08-31 21:21:31 · 1797 阅读 · 0 评论 -
PAT甲级1006 Sign In and Sign Out
PAT甲级1006 Sign In and Sign Out题目:At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the rec...原创 2019-09-15 23:16:07 · 186 阅读 · 0 评论