![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PATAdvan
Ethan_Lei_Pro
Heterogeneous Parallel Computing
展开
-
PAT1005Spell It Right (20)
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 c原创 2016-05-10 10:19:40 · 338 阅读 · 0 评论 -
PAT1003Emergency (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 le原创 2016-05-09 18:35:55 · 1900 阅读 · 0 评论 -
PAT1001A+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 one t原创 2016-05-06 20:21:00 · 399 阅读 · 0 评论 -
PAT 1012. The Best Rank (25)
To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mathematics (Calculus or Linear Algebra), and E - Engl原创 2016-05-12 16:19:44 · 248 阅读 · 0 评论 -
PAT 1011World 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. Sim原创 2016-05-12 13:42:41 · 299 阅读 · 0 评论 -
PAT1010. Radix (25)
Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is “yes”, if 6 is a decimal number and 110 is a binary number. Now for any pair of positive inte原创 2016-05-11 18:22:42 · 414 阅读 · 0 评论 -
PAT1009Product of Polynomials (25)
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 information原创 2016-05-11 16:35:31 · 249 阅读 · 0 评论 -
PAT1008. Elevator (20)
The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified order. It costs 6 seco原创 2016-05-11 16:33:12 · 263 阅读 · 0 评论 -
PAT1007 Maximum Subsequence Sum (25)
Given a sequence of K integers { N1, N2, …, NK }. A continuous subsequence is defined to be { Ni, Ni+1, …, Nj } where 1 <= i <= j <= K. The Maximum Subsequence is the continuous subsequence which has t原创 2016-05-10 13:07:28 · 351 阅读 · 0 评论 -
PAT1006 Sign In and Sign Out (25)
时间比较原创 2016-05-10 11:31:22 · 324 阅读 · 0 评论 -
PAT1013Battle Over Cities (25)
很好的一道基础题原创 2016-05-20 11:19:37 · 297 阅读 · 0 评论