自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(76)
  • 资源 (3)
  • 收藏
  • 关注

原创 CMU15-445 format\clang-format\clang-tidy 失败

【代码】CMU15-445 format\clang-format\clang-tidy 失败。

2023-09-24 22:40:59 370

原创 攻防世界-misc进阶 funny_video

攻防世界-misc进阶 funny_video直接观看视频发现有两个音频,用 MKVToolnixPortable 提取出两个音频用audacity查看其中一个音频的频谱图flag{fun_v1d30_mu51c}

2020-07-22 21:18:06 1367

原创 攻防世界-misc进阶 Recover-Deleted-File

攻防世界-misc进阶 Recover-Deleted-File工具scalpel扫描整个镜像文件,根据配置文件寻找相关文件类型的文件头和文件尾,正常找到后将这段内容雕刻出来;当找到了文件的头部,但是在它附近没有找到文件尾标志的时候,scalpel提供两种处理方式,一是放弃对该文件的雕刻,二是根据自定义的各类文件的最大长度进行雕刻。https://github.com/sleuthkit/scalpel方法一解压出文件, binwalk查看文件$ binwalk disk-i

2020-07-20 18:01:06 2408 3

原创 攻防世界-misc进阶 labour

攻防世界-misc进阶 labourwinhex查看文件数据,发现是gpx数据,到相应网址解析http://www.visugpx.com/index.phphttp://www.gpsvisualizer.com/map?output_home获取对应位置的国家数据WP01-A - BangladeshWP02-B - IndiaWP03-C - TurkmenistanWP04-D - SudanWP05-E - ChadWP06-F - ThailandWP07-G

2020-07-20 12:44:28 1020

原创 Ubuntu docker配置sqli-labs

Ubuntu docker配置sqli-labsapt-get 换源安装docker拉取sqli-labs镜像apt-get 换源https://blog.csdn.net/qq_37208650/article/details/106677590安装docker安装需要的包sudo apt install apt-transport-https ca-certificates software-properties-common curl添加 GPG 密钥,并添加 Doc

2020-06-10 23:39:44 466

原创 Ubuntu apt-get换源

Ubuntu apt-get换源修改/etc/apt/sources.list# 备份sources.listcp /etc/apt/sources.list /etc/apt/sources.list.bak# 编辑sources.listsudo vim /etc/apt/sources.list# 也可以用 sudo gedit /etc/apt/sources.list# 注: 需要用sudo更改权限/etc/apt/sources.list内容修改为阿里源https:

2020-06-10 23:28:52 229

原创 PAT甲级 1003 - Emergency

PAT甲级 1003题目 Emergency解析源码代码题目 EmergencyAs 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 some roads. Am...

2020-02-01 22:52:58 97

原创 PAT甲级 1004 - dfs 和 bfs

PAT甲级 1004题目 Counting Leaves解析源码代码代码 - bfs代码 - dfs题目 Counting LeavesA family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.Input Sp...

2020-02-01 22:48:16 139

原创 PAT甲级 1020

PAT甲级 1020题目 Tree Traversals解析代码题目 Tree TraversalsSuppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to...

2019-11-23 15:50:18 152

原创 PAT甲级 1128

PAT甲级 1128题目 N Queens Puzzle解析代码题目 N Queens PuzzleThe “eight queens puzzle” is the problem of placing eight chess queens on an 8×8 chessboard so that no two queens threaten each other. Thus, a solu...

2019-10-09 19:32:16 130

原创 PAT甲级 1125

PAT甲级 1125题目 Chain the Ropes解析代码题目 Chain the RopesGiven some segments of rope, you are supposed to chain them into one rope. Each time you may only fold two segments into loops and chain them into ...

2019-10-08 16:58:07 155

原创 PAT甲级 1116

PAT甲级 1116题目 Come on! Let's C解析代码题目 Come on! Let’s C“Let’s C” is a popular and fun programming contest hosted by the College of Computer Science and Technology, Zhejiang University. Since the idea ...

2019-10-02 21:40:16 131

原创 PAT甲级 1113

PAT甲级 1113题目 Integer Set Partition解析代码题目 Integer Set PartitionGiven a set of N (>1) positive integers, you are supposed to partition them into two disjoint sets A​1​​ and A​2​​ of n​1​​ and n...

2019-10-02 16:47:43 107

原创 PAT甲级 1106

PAT甲级 1106PAT甲级 1106解析代码PAT甲级 1106A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer.Starting fr...

2019-09-28 15:47:04 234

原创 PAT甲级 1102

PAT甲级 1102题目解析代码题目The following is from Max Howell @twitter:Google: 90% of our engineers use the software you wrote (Homebrew), but you can’t invert a binary tree on a whiteboard so fuck off.Now ...

2019-09-25 18:03:10 123

原创 PAT甲级 1100

PAT甲级 1100题目 Mars Numbers解析代码题目 Mars NumbersPeople on Mars count their numbers with base 13:Zero on Earth is called “tret” on Mars.The numbers 1 to 12 on Earth is called “jan, feb, mar, apr, may,...

2019-09-24 17:13:11 193

原创 PAT甲级 1097

PAT甲级 1097题目解析代码题目Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute values of the keys. That is, for each value K, only the first node of...

2019-09-23 17:13:48 117

原创 PAT甲级 1096

PAT甲级 1096题目 Consecutive Factors解析代码题目 Consecutive FactorsAmong 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, wh...

2019-09-23 15:38:30 95

原创 PAT甲级 1095

PAT甲级 1095题目 Cars on Campus解析代码题目 Cars on CampusZhejiang University has 8 campuses and a lot of gates. From each gate we can collect the in/out times and the plate numbers of the cars crossing the ...

2019-09-23 15:35:38 143

原创 PAT甲级 1088

PAT甲级 1088题目 Rational Arithmetic解析代码题目 Rational ArithmeticFor two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference, product and quotien...

2019-08-31 14:33:21 138

原创 PAT甲级 1084

PAT甲级 1083题目 Broken Keyboard解析代码题目 Broken KeyboardOn a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on...

2019-08-30 14:26:36 134

原创 PAT甲级 1083

PAT甲级 1082题目 List Grades解析代码题目 List GradesGiven 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 ou...

2019-08-30 14:01:41 123

原创 PAT甲级 1078

PAT甲级 1078题目 Hashing解析代码题目 HashingThe task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and output the positions of the input numbers. The hash func...

2019-08-29 15:24:48 131

原创 PAT甲级 1067

PAT甲级 1067题目 Sort with Swap(0, i)解析代码题目 Sort with Swap(0, i)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 op...

2019-08-27 14:40:50 117

原创 PAT甲级 1063

PAT甲级 1063题目 Set Similarity解析代码题目 Set SimilarityGiven two sets of integers, the similarity of the sets is defined to be N​c​​ /N​t​​ ×100%, where N​c​​ is the number of distinct common numbers s...

2019-08-26 15:27:42 101

原创 PAT甲级 1061

PAT甲级 1061题目 Dating解析代码题目 DatingSherlock Holmes received a note with some strange strings: Let’s date! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm. It took him only a minute to fi...

2019-08-26 13:49:28 111

原创 PAT甲级 1058

PAT甲级 1058题目 A+B in Hogwarts解析代码题目 A+B in HogwartsIf 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 sil...

2019-08-25 17:51:19 99

原创 PAT甲级 1056

PAT甲级 1056题目 Mice and Rice解析代码题目 Mice and RiceMice and Rice is the name of a programming contest in which each programmer must write a piece of code to control the movements of a mouse in a given m...

2019-08-25 16:11:38 251

原创 PAT甲级 1055

PAT甲级 1055题目 The World's Richest解析代码题目 The World’s RichestForbes magazine publishes every year its list of billionaires based on the annual ranking of the world’s wealthiest people. Now you are sup...

2019-08-25 14:09:08 70

原创 PAT甲级 1054

PAT甲级 1054题目 The Dominant Color解析代码题目 The Dominant ColorBehind 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, t...

2019-08-25 13:32:53 111

原创 PAT甲级 1050

PAT甲级 1050题目 String Subtraction解析代码题目 String SubtractionGiven two strings S1​​ and S​2​​ , S=S​1​ −S​2​​ is defined to be the remaining string after taking all the characters in S​2​​ from S​1​​...

2019-08-24 16:54:08 89

原创 PAT甲级 1049

PAT甲级 1049题目 String Subtraction解析代码题目 String SubtractionThe 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 ...

2019-08-24 16:40:30 158

原创 PAT甲级 1047

PAT甲级 1047题目 Student List for Course解析代码题目 Student List for CourseZhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each student, you are s...

2019-08-24 15:10:05 105

原创 PAT甲级 1046

PAT甲级 1046题目 Shortest Distance解析代码题目 Shortest DistanceThe 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 ...

2019-08-24 14:25:14 160

原创 PAT甲级 1042

PAT甲级 1042题目 Shuffling Machine解析代码题目 Shuffling MachineShuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avo...

2019-08-23 14:49:51 127

原创 PAT甲级 1041

PAT甲级 1041题目 Be Unique解析代码题目 Be UniqueBeing 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 ...

2019-08-23 14:13:02 81

原创 PAT甲级 1040

PAT甲级 1040题目 Longest Symmetric String解析代码题目 Longest Symmetric StringGiven a string, you are supposed to output the length of the longest symmetric sub-string. For example, given Is PAT&TAP symm...

2019-08-23 13:49:30 152

原创 PAT甲级 1039

PAT甲级 1039题目 Course List for Student解析代码题目 Course List for StudentZhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are supp...

2019-08-22 18:00:27 158 1

原创 PAT甲级 1037

PAT甲级 1037题目 Magic Coupon解析代码题目 Magic CouponThe magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning that when you use this coupon with a product, ...

2019-08-22 16:57:18 161

原创 PAT甲级 1036

PAT甲级 1036题目 Boys vs Girls解析代码题目 Boys vs GirlsThis 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.Inpu...

2019-08-22 16:36:06 67

MySpringCloud4_Feign

MySpringCloud4_Feign ,idea与springCloud 在项目中Feign篇

2018-09-21

MySpringCloud3_Ribbon

MySpringCloud3_Ribbon,springCloud 第三天的代码资源

2018-09-19

MySpringCloud2_Eureka

springCloud第二天的样例代码,使项目更适合生产环境。

2018-09-18

空空如也

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

TA关注的人

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