1003 Emergency-PAT甲级


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 length of each road between any pair of cities are marked on the map. When there is an emergency call to you from some other city, your job is to lead your men to the place as quickly as possible, and at the mean time, call up as many hands on the way as possible.

1002 A+B for Polynomials-PAT甲级


This time, you are supposed to find A+B where A and B are two polynomials.

1001 A+B Format-PAT甲级


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).

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now