PAT 甲级常见单词整理。
According to Wikipedia:
According to Wikipedia: Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insertion so
The ranklist of PAT is generated from the status list, which shows the scores of the submissions. This time you are supposed to generate the ranklist for PAT.
A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structu
Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are sup
Excel can sort records according to any column. Now you are supposed to imitate this function. Input Specification:
Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejian
A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstract
To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C -
People on Mars count their numbers with base 131313:
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represen
A reversible prime in any number system is a prime whose “reverse” in that number system is also a prime. For exam
Given a pair of positive integers, for example, 666 and 110110110, can this equation 6=1106 = 1106=110 be true
A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For e
Notice that the number 123456789123456789123456789 is a 999-digit number consisting exactly the numbers fro
This time, you are supposed to find A×BA×BA×B where AAA and BBB are two polynomials.
This time, you are supposed to find A+B where A and B are two polynomials.
A table tennis club has NNN tables available to the public. The tables are numbered from 111 to NNN. Fo
Suppose a bank has KKK windows open for service. There is a yellow line in front of the windows which devides the w
A long-distance telephone company charges its customers by the following rules:
Sherlock Holmes received a note with some strange strings: Let's date! 3485djDkxh4hhGE 2984akDfkkkkggEdsb
People often have a preference among synonyms of the same word. For example, some may prefer “the police”, while others may pr
Given two strings S1S_1S1 and S2S_2S2, S=S1−S2S=S_1−S_2S=S1−S2 is defined to be the remaining string after taking all the character
This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students.
To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that the
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last on
Given a non-negative integer NNN, your task is to compute the sum of all the digits of NNN, and output every digit of the su
Calculate a+ba+ba+b and output the sum in standard format – that is, the digits must be separated into groups of three by commas (unles
An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号