- 博客(11)
- 收藏
- 关注
原创 PAT1037Java
PAT笔记 1037 Magic Coupon The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning that when you use this coupon with a product, you may get N times the value of that product back! What is more, the shop als
2020-11-03 21:41:36 118
原创 PAT1070 Java
PAT笔记 1070 Mooncake Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of fillings and crusts can be found in traditional mooncakes according to the region’s culture. Now given the inventory amounts and the
2020-11-03 20:44:57 115
原创 PAT1084 Java
PAT笔记 1084 Broken Keyboard On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on screen.Now given a string that you are supposed to type, and the string that you
2020-08-18 19:20:57 142
原创 PAT1071 Java
PAT笔记 1071 Speech Patterns People often have a preference among synonyms of the same word. For example, some may prefer “the police”, while others may prefer “the cops”. Analyzing such patterns can help to narrow down a speaker’s identity, which is useful
2020-08-18 17:07:40 127
原创 PAT1036 Java
PAT笔记 1036 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: Each input file contains one test case. Each case contains a
2020-08-18 16:08:15 99
原创 PAT1534 Java
PAT笔记 1534 String Subtraction Given two strings S1 and S2, S=s1-s2 is defined to be the remaining string after taking all the characters in S2 from S1. Your task is simply to calculate S2-S1 for any given strings. However, it might not be that simple t
2020-08-18 15:22:48 87
原创 PAT1011
PAT笔记 1011 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 World Cup trophy in South Africa. Similarly, football betting
2020-08-17 20:37:14 105
原创 PAT1035 Java
PAT笔记 1035 Password To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords since it is hard to distinguish 1 (one) from l (L in lowercase), or 0 (zero) from O (
2020-08-13 22:42:34 139 1
原创 PAT1006 Java
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 records of signing in’s and out’s, you are supposed to find t
2020-08-13 22:00:44 137
原创 PAT1005 Java
PAT笔记 1005 Spell It Right Given 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 one test case. Each case occupies one line which
2020-08-13 21:51:12 130
原创 PAT1001 Java
PAT笔记 1001 A+BFormat 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 than four digits). Input Specification: Each input file contains one test case. Each ca
2020-08-13 20:06:46 149
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人