﻿PAT甲级-Ocrosoft

# PAT甲级

## PAT(A) 1013. Battle Over Cities (25)

It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all t

→[ 阅读全文 ] ←

## PAT(A) 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 

→[ 阅读全文 ] ←

## PAT(A) 1009. Product 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

→[ 阅读全文 ] ←

## PAT(A) 1100. Mars Numbers (20)

People on Mars count their numbers with base 13: Zero on Earth is called “tret” on Mars. The numbers 1 to 12

→[ 阅读全文 ] ←

## PAT(A) 1096. Consecutive Factors (20)

Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be fact

→[ 阅读全文 ] ←

Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There w

→[ 阅读全文 ] ←

## PAT(A) 1088. Rational Arithmetic (20)

For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference,

→[ 阅读全文 ] ←

## PAT(A) 1084. Broken Keyboard (20)

On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to th

→[ 阅读全文 ] ←

## PAT(A) 1081. Rational Sum (20)

Given N rational numbers in the form “numerator/denominator”, you are supposed to calculate their sum. Input

→[ 阅读全文 ] ←

## PAT(A) 1077. Kuchiguse (20)

The Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be consi

→[ 阅读全文 ] ←