自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 PAT 甲级 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 distance between any pair of exits.输入描述:Each input file contains one test case. For each case, the first line contains an int

2021-02-02 15:30:35 110

原创 PAT 甲级 1042.Shuffling Machine (20)

题目题目描述Shuffling is a procedure used to randomize a deck of playing cards.Because standard shuffling techniques are seen as weak, and in order toavoid “inside jobs” where employees collaborate with gamblersby performing inadequate shuffles, many casino

2021-02-02 13:05:44 103

原创 PAT 甲级 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 is simple: one bets on a number chosen from [1, 104]. The first one who bets on a unique number wins. For example, if there a

2021-01-27 10:01:24 114

原创 PAT 甲级 1065.A+B and C (64bit) (20)

题目题目描述Given three integers A, B and C in [-263, 263), you are supposed to tell whether A+B > C.输入描述:The first line of the input gives the positive number of test cases, T (<=1000). Then T test cases follow, each consists of a single line contain

2021-01-15 17:03:20 116

原创 PAT 甲级 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 explained it to Harry, “Seventeen silver Sickles to a Galleon and twenty-nine Knuts to a Sickle, it’s easy enough.” Your job is to write a

2021-01-14 13:07:08 122

原创 PAT 甲级 1077.Kuchiguse

题目题目描述The Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be considered as a reflection of the speaker’s personality. Such a preference is called “Kuchiguse” and is often exaggerated artisticall

2021-01-01 11:15:08 149 2

原创 PAT 甲级 1906.Consecutive Factors

PAT 甲级 1906.Consecutive Factors题目思路代码题目题目描述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 given any posi

2021-01-01 10:14:50 94

空空如也

空空如也

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

TA关注的人

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