
PAT-甲级
文章平均质量分 82
LiLi_code
热爱技术的互联网女孩~
展开
-
PAT (Advanced Level) Practice 1036 Boys vs Girls (25)
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:Each input file contains one test ...原创 2018-06-11 12:56:09 · 167 阅读 · 0 评论 -
PAT (Advanced Level) Practice 1031 Hello World for U (20)
Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as:h d e l l r lowo That is, the characters must be pri...原创 2018-06-12 06:57:00 · 175 阅读 · 0 评论 -
PAT (Advanced Level) 1065 A+B and C (20)
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 number of test cases, T (<=10). Th...原创 2018-06-05 22:54:01 · 202 阅读 · 0 评论 -
PAT (Advanced Level) Practice 1019 General Palindromic Number (20)
A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number. All single digit numbers are palindromic numbers...原创 2018-06-14 21:39:36 · 160 阅读 · 0 评论 -
PAT (Advanced Level) Practice 1011 World Cup Betting (20)
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 World Cup trophy in South Africa. Si...原创 2018-06-08 22:53:00 · 169 阅读 · 0 评论 -
PAT (Advanced Level) Practice 1006 Sign In and Sign Out (25)
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 records of signing in's and out's, you...原创 2018-06-10 11:02:08 · 210 阅读 · 0 评论 -
PAT (Advanced Level) Practice 1027 Colors in Mars (20)
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, where the first 2 digits are for Red, the middle 2 dig...原创 2018-06-19 06:44:40 · 141 阅读 · 0 评论 -
PAT (Advanced Level) Practice 1025 PAT Ranking (25)
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 places, and the ranklist...原创 2018-12-31 21:04:05 · 140 阅读 · 1 评论