08 2022 档案

摘要:题目描述: A traveler's map gives the distances between cities along the highways, together with the cost of each highway. Now you are supposed to write a 阅读全文
posted @ 2022-08-30 17:48 D_coding_blog 阅读(21) 评论(0) 推荐(0) 编辑
摘要:题目描述: Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1 = { 11, 12, 13, 14 阅读全文
posted @ 2022-08-28 22:46 D_coding_blog 阅读(25) 评论(0) 推荐(0) 编辑
摘要:题目描述: Excel can sort records according to any column. Now you are supposed to imitate this function. Input Specification: Each input file contains one 阅读全文
posted @ 2022-08-28 21:58 D_coding_blog 阅读(20) 评论(0) 推荐(0) 编辑
摘要:题目描述: Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test is supposed to r 阅读全文
posted @ 2022-08-23 23:30 D_coding_blog 阅读(28) 评论(0) 推荐(0) 编辑
摘要:题目描述: A table tennis club has N tables available to the public. The tables are numbered from 1 to N. For any pair of players, if there are some tables 阅读全文
posted @ 2022-08-23 23:22 D_coding_blog 阅读(21) 评论(0) 推荐(0) 编辑
摘要:题目描述: A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic 阅读全文
posted @ 2022-08-22 21:42 D_coding_blog 阅读(23) 评论(0) 推荐(0) 编辑
摘要:题目描述: Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 2 阅读全文
posted @ 2022-08-21 22:30 D_coding_blog 阅读(27) 评论(0) 推荐(0) 编辑
摘要:题目描述: A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publishers, and published 阅读全文
posted @ 2022-08-21 22:06 D_coding_blog 阅读(17) 评论(0) 推荐(0) 编辑
摘要:题目描述: 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 student 阅读全文
posted @ 2022-08-21 00:44 D_coding_blog 阅读(18) 评论(0) 推荐(0) 编辑
摘要:题目描述: To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing pass 阅读全文
posted @ 2022-08-21 00:31 D_coding_blog 阅读(16) 评论(0) 推荐(0) 编辑
摘要:题目描述: People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number 阅读全文
posted @ 2022-08-21 00:17 D_coding_blog 阅读(19) 评论(0) 推荐(0) 编辑
摘要:题目描述: A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic 阅读全文
posted @ 2022-08-20 22:28 D_coding_blog 阅读(15) 评论(0) 推荐(0) 编辑
摘要:题目描述: A graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you are supposed to fi 阅读全文
posted @ 2022-08-20 22:19 D_coding_blog 阅读(28) 评论(0) 推荐(0) 编辑
摘要:题目描述: Given an integer with no more than 9 digits, you are supposed to read it in the traditional Chinese way. Output Fu first if it is negative. For 阅读全文
posted @ 2022-08-19 23:25 D_coding_blog 阅读(19) 评论(0) 推荐(0) 编辑
摘要:题目描述: Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed 阅读全文
posted @ 2022-08-18 23:38 D_coding_blog 阅读(18) 评论(0) 推荐(0) 编辑
摘要:题目描述: A long-distance telephone company charges its customers by the following rules: Making a long-distance call costs a certain amount per minute, d 阅读全文
posted @ 2022-08-12 22:40 D_coding_blog 阅读(25) 评论(0) 推荐(0) 编辑
摘要:题目描述: The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pai 阅读全文
posted @ 2022-08-12 16:45 D_coding_blog 阅读(24) 评论(0) 推荐(0) 编辑
摘要:题目大意: With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams do 阅读全文
posted @ 2022-08-12 16:33 D_coding_blog 阅读(19) 评论(0) 推荐(0) 编辑
摘要:题目描述: This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: K N1​ aN1​ ​ N2​ aN2​ ​ ... NK​ aNK​ ​ where K i 阅读全文
posted @ 2022-08-12 16:23 D_coding_blog 阅读(18) 评论(0) 推荐(0) 编辑
摘要:题目描述: The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors th 阅读全文
posted @ 2022-08-12 16:18 D_coding_blog 阅读(20) 评论(0) 推荐(0) 编辑
摘要:题目描述: At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock th 阅读全文
posted @ 2022-08-12 16:11 D_coding_blog 阅读(19) 评论(0) 推荐(0) 编辑
摘要:题目描述: This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each cas 阅读全文
posted @ 2022-08-12 15:57 D_coding_blog 阅读(33) 评论(0) 推荐(0) 编辑
摘要:题目描述: 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 le 阅读全文
posted @ 2022-08-12 15:47 D_coding_blog 阅读(35) 评论(0) 推荐(0) 编辑
摘要:(20)PAT甲级 1001 A+B Format(模拟 字符串) (25)PAT甲级 1002 A+B for Polynomials(模拟 多项式加法 map) (25)PAT甲级 1003 Emergency(DFS vector) (30)PAT甲级 1004 Counting Leaves 阅读全文
posted @ 2022-08-12 15:00 D_coding_blog 阅读(143) 评论(0) 推荐(0) 编辑
摘要:题目描述: Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All 阅读全文
posted @ 2022-08-10 01:38 D_coding_blog 阅读(40) 评论(0) 推荐(0) 编辑
摘要:题目描述: A reversible prime in any number system is a prime whose "reverse" in that number system is also a prime. For example in the decimal system 73 i 阅读全文
posted @ 2022-08-09 21:05 D_coding_blog 阅读(25) 评论(0) 推荐(0) 编辑
摘要:题目描述: Suppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. The 阅读全文
posted @ 2022-08-09 18:40 D_coding_blog 阅读(40) 评论(0) 推荐(0) 编辑
摘要:题目描述 It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward t 阅读全文
posted @ 2022-08-08 23:29 D_coding_blog 阅读(28) 评论(0) 推荐(0) 编辑
摘要:题目描述: To evaluate the performance of our first year CS majored students, we consider their grades of three courses only:C- C Programming Language, M - 阅读全文
posted @ 2022-08-08 16:30 D_coding_blog 阅读(23) 评论(0) 推荐(0) 编辑
摘要:题目描述: Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 11 阅读全文
posted @ 2022-08-08 00:04 D_coding_blog 阅读(32) 评论(0) 推荐(0) 编辑
摘要:题目描述: Given a sequence of K integers { N1​, N2​, ..., NK​ }. A continuous subsequence is defined to be { Ni​, Ni+1​, ..., Nj​ } where 1≤i≤j≤K. The Max 阅读全文
posted @ 2022-08-06 14:42 D_coding_blog 阅读(30) 评论(0) 推荐(0) 编辑
摘要:###题目描述: A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. Input Specification: 阅读全文
posted @ 2022-08-05 23:39 D_coding_blog 阅读(23) 评论(0) 推荐(0) 编辑
摘要:题目描述: 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 s 阅读全文
posted @ 2022-08-05 22:59 D_coding_blog 阅读(26) 评论(0) 推荐(0) 编辑

阅读目录(Content)

此页目录为空

点击右上角即可分享
微信分享提示