﻿2016 十二月-Ocrosoft

# 2016年12月的文章

PAT甲级

## 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甲级

## 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甲级

## 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

→[ 阅读全文 ] ←
PAT甲级

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甲级

## 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甲级

## 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甲级

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

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

→[ 阅读全文 ] ←
PAT甲级

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

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

→[ 阅读全文 ] ←
PAT甲级

## PAT(A) 1073. Scientific Notation (20)

Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matc

→[ 阅读全文 ] ←
PAT甲级

## PAT(A) 1069. The Black Hole of Numbers (20)

For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing orde

→[ 阅读全文 ] ←