自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 PAT 甲级 1151 LCA in a Binary Tree(30 分)

原题地址:PAT Adv 1151题目正文:1151 LCA in a Binary Tree(30 分)The lowest common ancestor (LCA) of two nodes U and V in a tree is the deepest node that has both U and V as descendants.Given any two node...

2018-09-09 23:08:07 553

原创 PAT 甲级 1057 Stack(30 分) 树状数组,二叉树和分块法对比

原题地址:PAT Adv 1057题目正文:1057 Stack(30 分)Stack is one of the most fundamental data structures, which is based on the principle of Last In First Out (LIFO). The basic operations include Push (insert...

2018-09-01 01:58:56 497 1

原创 PAT 甲级 1138 Advanced Level 1138 Postorder Traversal(25 分)低时耗AC

 原题地址:https://pintia.cn/problem-sets/994805342720868352/problems/994805345078067200题目正文:1138 Postorder Traversal(25 分)Suppose that all the keys in a binary tree are distinct positive integers....

2018-08-17 12:59:52 241

原创 Dagum Gini Decomposition,Dagum基尼系数分解的python实例

Dagum基尼系数分解的python实例

2022-12-07 15:14:43 3074 21

原创 PAT 甲级 1149 Dangerous Goods Packaging(25 分)

题目地址:PAT Adv 10491149 Dangerous Goods Packaging(25 分)When shipping goods with containers, we have to be careful not to pack some incompatible goods into the same container, or we might get ourselv...

2018-09-09 23:18:02 276

原创 2018年 9月份 PAT 甲级随想

讲在前面基本情况:本人非科班出身,之前有些许的数据结构基础,上次乙级95,这次通过了8012年九月份的PAT甲级考试。在此为自己留下一点感想,激励自己仍需自省的同时,略陈些许经验,以期给仍在努力刷题的PATers提供或多或少的帮助。如何备战PAT甲级?首先需要具有简单算法和数据结构的基础,这个可以通过通刷一本科数据结构与算法的教材来实现,我当时使用的是一本比较low的武大版教材。需要达...

2018-09-08 23:51:40 1034 2

原创 PAT 甲级 1034 Head of a Gang(30 分) 低时耗AC

原题地址:PAT Adv 1034原题正文:1034 Head of a Gang(30 分)One way that the police finds the head of a gang is to check people's phone calls. If there is a phone call between A and B, we say that A and B is...

2018-09-07 09:59:17 206

原创 PAT 甲级 1017 Queueing at Bank(25 分)简洁的写出来

原题地址:PAT Adv 1017原题正文:1017 Queueing at Bank(25 分)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 ...

2018-09-06 23:22:18 301

原创 PAT 甲级 1026 Table Tennis(30 分) 完整的逻辑分析

原题地址:PAT Adv 1026题目正文:1026 Table Tennis(30 分)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 open...

2018-09-06 23:10:57 2234 10

原创 天梯赛 GPLT L2-028 秀恩爱分得快(25 分)

L2-028 秀恩爱分得快(25 分)古人云:秀恩爱,分得快。互联网上每天都有大量人发布大量照片,我们通过分析这些照片,可以分析人与人之间的亲密度。如果一张照片上出现了 K 个人,这些人两两间的亲密度就被定义为 1/K。任意两个人如果同时出现在若干张照片里,他们之间的亲密度就是所有这些同框照片对应的亲密度之和。下面给定一批照片,请你分析一对给定的情侣,看看他们分别有没有亲密度更高的异性朋友...

2018-08-27 17:12:40 4420 4

原创 PAT 甲级 1045 1045 Favorite Color Stripe(30 分) 低耗时AC

原题地址:PAT Adv 1045题目原文:1045 Favorite Color Stripe(30 分)Eva is trying to make her own color stripe out of a given one. She would like to keep only her favorite colors in her favorite order by cutt...

2018-08-24 12:54:20 679 1

原创 PAT 甲级 1091 Acute Stroke(30 分)

原题地址:PAT Adv 1091题目正文:1091Acute Stroke(30分)One important factor to identify acute stroke (急性脑卒中) is the volume of the stroke core. Given the results of image analysis in which the core regions...

2018-08-20 00:04:08 776 2

原创 PAT 甲级 1047 Advanced Level 1047 Student List for Course(25 分)

原题地址:PAT甲级1047题目正文:1047Student List for Course(25分)Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each student, you are supposed...

2018-08-14 23:45:22 196

转载 MATHEMATICAL METHODS FOR OPTICA LPHYSICS AND ENGINEERING by GREGORY J.下载

分享出来,方便需要了解光学工程的博友学习。链接:https://pan.baidu.com/s/1MgAkuU3wgit7lH145yf8_Q密码:geg6

2018-04-24 15:44:29 367

空空如也

空空如也

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

TA关注的人

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