摘要:
入门: PAT(A) 1042. Shuffling Machine (20) PAT(A) 1046. Shortest Distance (20) PAT(A) 1065. A+B and C (64bit) (20) PAT(A) 1002. A+B for Polynomials (25) 阅读全文
posted @ 2017-03-14 18:40
claremz
阅读(424)
评论(0)
推荐(0)
摘要:
Zhejiang University has 6 campuses and a lot of gates. From each gate we can collect the in/out times and the plate numbers of the cars crossing the g 阅读全文
posted @ 2017-03-14 18:38
claremz
阅读(356)
评论(0)
推荐(0)
摘要:
It is said that in 2013, there were about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province. It would help a lot if 阅读全文
posted @ 2017-03-14 17:50
claremz
阅读(869)
评论(0)
推荐(0)
摘要:
Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-increasing order, and 阅读全文
posted @ 2017-03-14 17:36
claremz
阅读(201)
评论(0)
推荐(0)
摘要:
The ranklist of PAT is generated from the status list, which shows the scores of the submittions. This time you are supposed to generate the ranklist 阅读全文
posted @ 2017-03-14 17:33
claremz
阅读(501)
评论(0)
推荐(0)
摘要:
Forbes magazine publishes every year its list of billionaires based on the annual ranking of the world's wealthiest people. Now you are supposed to si 阅读全文
posted @ 2017-03-14 17:25
claremz
阅读(246)
评论(0)
推荐(0)
摘要:
Excel can sort records according to any column. Now you are supposed to imitate this function. Input Each input file contains one test case. For each 阅读全文
posted @ 2017-03-14 17:16
claremz
阅读(166)
评论(0)
推荐(0)
摘要:
Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test is supposed to run sim 阅读全文
posted @ 2017-03-14 17:13
claremz
阅读(173)
评论(0)
推荐(0)
摘要:
A long-distance telephone company charges its customers by the following rules: Making a long-distance call costs a certain amount per minute, dependi 阅读全文
posted @ 2017-03-14 17:06
claremz
阅读(251)
评论(0)
推荐(0)
摘要:
To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mat 阅读全文
posted @ 2017-03-14 16:59
claremz
阅读(227)
评论(0)
推荐(0)
摘要:
About 900 years ago, a Chinese philosopher Sima Guang wrote a history book in which he talked about people's talent and virtue. According to his theor 阅读全文
posted @ 2017-03-14 16:43
claremz
阅读(247)
评论(0)
推荐(0)
摘要:
Given an integer with no more than 9 digits, you are supposed to read it in the traditional Chinese way. Output "Fu" first if it is negative. For exam 阅读全文
posted @ 2017-03-14 16:34
claremz
阅读(383)
评论(0)
推荐(0)
摘要:
The Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be considered as a reflection of the s 阅读全文
posted @ 2017-03-14 15:56
claremz
阅读(211)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2017-03-14 15:47
claremz
阅读(181)
评论(0)
推荐(0)
摘要:
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 Specificat 阅读全文
posted @ 2017-03-14 15:21
claremz
阅读(188)
评论(0)
推荐(0)
摘要:
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 t 阅读全文
posted @ 2017-03-14 15:01
claremz
阅读(430)
评论(0)
推荐(0)
摘要:
Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matches the regular expression [+- 阅读全文
posted @ 2017-03-14 14:49
claremz
阅读(270)
评论(0)
推荐(0)
摘要:
Sherlock Holmes received a note with some strange strings: "Let's date! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm". It took him only a min 阅读全文
posted @ 2017-03-14 14:37
claremz
阅读(258)
评论(0)
推荐(0)
摘要:
If you are a fan of Harry Potter, you would know the world of magic has its own currency system -- as Hagrid explained it to Harry, "Seventeen silver 阅读全文
posted @ 2017-03-14 14:23
claremz
阅读(185)
评论(0)
推荐(0)
摘要:
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, wher 阅读全文
posted @ 2017-03-14 14:20
claremz
阅读(167)
评论(0)
推荐(0)

浙公网安备 33010602011771号