﻿PAT甲级-Ocrosoft-第2页

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

→[ 阅读全文 ] ←

## PAT(A) 1058. A+B in Hogwarts (20)

If you are a fan of Harry Potter, you would know the world of magic has its own currency system — as Hagrid explai

→[ 阅读全文 ] ←

## PAT(A) 1054. The Dominant Color (20)

Behind the scenes in the computer’s memory, color is always talked about as a series of 24 bits of information for

→[ 阅读全文 ] ←

## PAT(A) 1050. String Subtraction (20)

Given two strings S1 and S2, S = S1 – S2 is defined to be the remaining string after taking all the

→[ 阅读全文 ] ←

## PAT(A) 1046. Shortest Distance (20)

The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest

→[ 阅读全文 ] ←

## PAT(A) 1042. Shuffling Machine (20)

Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as we

→[ 阅读全文 ] ←

## PAT(A) 1041. Be Unique (20)

Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning

→[ 阅读全文 ] ←

## 1031. Hello World for U (20)

Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, “

→[ 阅读全文 ] ←

## PAT(A) 1027. Colors in Mars (20)

People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represe

→[ 阅读全文 ] ←