自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

R11happy的博客

春风十里、五十里、一百里、体测一千米,木瓜炖雪梨、芝士玉米粒、鸡汁土豆泥,不如你,全都不如你~

  • 博客(10)
  • 收藏
  • 关注

原创 1059. Prime Factors (25).md

题意Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p1^k1 * p2^k2 *…*pm^km 输入格式Each input file contains one test case which gives a p

2017-02-26 00:35:43 401

原创 PAT甲级.1049. Counting Ones (30)

题意The task is simple: given any positive integer N, you are supposed to count the total number of 1’s in the decimal form of the integers from 1 to N. For example, given N being 12, there are five 1’s

2017-02-19 15:34:53 378

原创 PAT甲级.1096. Consecutive Factors (20)

题意Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored as 3*5*6*7, where 5, 6, and 7 are the three consecutive numbers. Now give

2017-02-19 15:24:45 351

原创 PAT甲级.1044. Shopping in Mars (25)

题意Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M). When making the payment, the chain can be cut at any position

2017-02-15 00:23:29 602

原创 PAT甲级.1067. Sort with Swap(0,*) (25)

题意Given any permutation of the numbers {0, 1, 2,…, N-1}, it is easy to sort them in increasing order. But what if Swap(0, *) is the ONLY operation that is allowed to use? For example, to sort {4, 0, 2

2017-02-14 01:16:34 298

原创 PAT甲级.1075. PAT Judge (25)

题意The ranklist of PAT is generated from the status list, which shows the scores of the submittions. This time you are supposed to generate the ranklist for PAT. 输入格式Each input file contains one tes

2017-02-13 00:00:42 514

原创 PAT甲级.1033. To Fill or Not to Fill (25)

题目With highways available, driving a car from Hangzhou to any other city is easy. But since the tank capacity of a car is limited, we have to find gas stations on the way from time to time. Different

2017-02-12 22:42:16 345

原创 PAT甲级.1083. List 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 grade

2017-02-08 22:45:10 424 6

原创 PAT甲级.1012. The Best Rank (25)

题目To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mathematics (Calculus or Linear Algebra), and E - E

2017-02-08 22:17:48 346

原创 PAT甲级.1025. PAT Ranking (25)

题目Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test is supposed to run simultaneously in several places, and the ranklists

2017-02-06 23:24:41 326

空空如也

空空如也

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

TA关注的人

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