自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 1008Elevator (20)

题目描述 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 the elevator will stop, in specified order. It cost...

2018-07-24 14:20:25 229

原创 1006Sign In and Sign Out (25)

题目描述 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 the door. Given the records of signing in's and ou...

2018-07-24 11:37:04 272

原创 1005Spell It Right (20)

题目描述 Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English.   输入描述: Each input file contains one test case. Each ca...

2018-07-23 15:39:18 199

原创 1002A+B for Polynomials (25)

题目描述 This time, you are supposed to find A+B where A and B are two polynomials.   输入描述: Each input file contains one test case. Each case occupies 2 lines, and each line contains the information...

2018-07-23 15:15:47 168

原创 1001A+B Format (20)

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 less than four digits).   输入描述: Each input file con...

2018-07-23 10:59:28 227

原创 1036Boys vs Girls (25)

题目描述 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.   输入描述: Each input file contains one test ...

2018-07-23 10:36:07 267

原创 1035Password (20)

题目描述 To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords since it is hard to distinguish 1 (one) fr...

2018-07-20 12:40:38 205

原创 1029Median (25)

题目描述 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} is 12, and the median of S2={9, 10, 15, 16, 17} is...

2018-07-18 15:17:05 270

原创 1028List Sorting (25)

题目描述 Excel can sort records according to any column. Now you are supposed to imitate this function.   输入描述: Each input file contains one test case. For each case, the first line contains two i...

2018-07-18 15:16:23 257

原创 1027Colors 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 represented by a 6-digit number, where the first 2 digits are for Red, the midd...

2018-07-18 15:15:33 158

原创 1054The 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 each pixel. In an image, the color with the largest proportional area is call...

2018-07-18 15:13:09 162

原创 1083List Grades (25)

题目描述 Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-increasing order, and output those student records of which the...

2018-07-18 15:11:56 183

原创 1082Read Number in Chinese (25)

题目描述 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 example, -123456789 is read as "Fu yi Yi er Q...

2018-07-18 15:10:57 280

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除