PAT甲级题解
mdzzname
这个作者很懒,什么都没留下…
展开
-
PAT A1042.Shuffling 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 employees collaborate with gambler原创 2017-07-11 19:33:36 · 159 阅读 · 0 评论 -
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 Specification:Each input file c原创 2017-07-12 12:19:57 · 265 阅读 · 0 评论 -
PAT A1065. A+B and C (64bit)
Given three integers A, B and C in [-263, 263], 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 (Output原创 2017-07-12 12:55:56 · 197 阅读 · 0 评论 -
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, and each line contains the inf原创 2017-07-25 16:02:14 · 303 阅读 · 0 评论