Given a pair of positive integers, for example, 6 and 1 […]
PAT (Advanced Level) Practice 1009 Product of Polynomials
This time, you are supposed to find A×B where A and B a […]
PAT (Advanced Level) Practice 1008 Elevator
The highest building in our city has only one elevator. […]
PAT (Advanced Level) Practice 1007 Maximum Subsequence Sum
Given a sequence of K integers { N1, N2, …, NK}. […]
PAT (Advanced Level) Practice 1006 Sign In and Sign Out
At the beginning of every day, the first person who sig […]
PAT (Advanced Level) Practice 1005 Spell It Right
Given a non-negative integer N, your task is to compute […]
PAT (Advanced Level) Practice 1004 Counting Leaves
A family hierarchy is usually presented by a pedigree t […]
PAT (Advanced Level) Practice 1003 Emergency
As an emergency rescue team leader of a city, you are g […]
PAT (Advanced Level) Practice 1002 A+B for Polynomials
This time, you are supposed to find A+B where A and B a […]
PAT (Advanced Level) Practice 1001 A+B Format
Calculate a+b and output the sum in standard format  […]