- 博客(6)
- 收藏
- 关注
原创 PAT - 1065 A+B and C (64bit) (20)
Given three integers A, B and C in [-2^63^, 2^63^], you are supposed to tell whether A+B > C.InputThe first line of the input gives the positive number of test cases, T (<=10). Then T test c...
2018-07-24 23:45:11 310
原创 PAT - 1040 Longest Symmetric String (25)
Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, given “Is PAT&TAP symmetric?”, the longest symmetric sub-string is “s PAT&TAP s”, hence ...
2018-07-21 23:34:07 153
原创 PAT - 1033 To Fill or Not to Fill (25)
With highways available, driving a car from Hangzhou to any other city is easy. But since the tank capacity of a car is limited, we have to find gas stations on the way from time to time. Different ga...
2018-07-21 23:02:29 155
原创 PAT - 1003 Emergency (25)
As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams in each city and the l...
2018-07-16 23:50:45 165
原创 PAT - 1002 A+B for Polynomials (25)
This time, you are supposed to find A+B where A and B are two polynomials.InputEach input file contains one test case. Each case occupies 2 lines, and each line contains the information of a polyn...
2018-07-13 23:03:07 139
原创 PAT - 1001 A+B Format (20)
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).InputEach input file contains ...
2018-07-13 21:49:56 160
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人