# vblog

61 篇文章
13 人订阅

## 全部文章

### PAT1040 Longest Symmetric String (25分) 中心扩展法+动态规划

Given a string, you are supposed to output the length of the longest symmetric s...

9130

### PAT 1009 Product of Polynomials (25分) 指数做数组下标，系数做值

This time, you are supposed to find A×B where A and B are two polynomials.

7620

37330

### PAT 1028 List Sorting (25分) 用char[]，不要用string

Excel can sort records according to any column. Now you are supposed to imitate ...

9740

### PAT 1022 Digital Library (30分) 从踩坑到满分

A Digital Library contains millions of books, stored according to their titles, ...

8420

### PAT 1025 PAT Ranking (25分) vector + sort

Programming Ability Test (PAT) is organized by the College of Computer Science a...

9820

### PAT 1004 Counting Leaves (30分) BFS找每一层非叶子节点数

A family hierarchy is usually presented by a pedigree tree. Your job is to count...

8410

### ElasticSearch7.8.0Docker安装及入门最基本操作

term 查询， 可以用它处理数字（numbers）、布尔值（Booleans）、日期（dates）以及文本（text，不推荐）。

21830

11130

### PAT 1049 Counting Ones (30分) 编程之美--1的个数

The task is simple: given any positive integer N, you are supposed to count the ...

10230

### PAT 1048 Find Coins (25分) 硬币面值做数组下标即排序

Eva loves to collect coins from all over the universe, including some other plan...

7740

### PAT 1023 Have Fun with Numbers (20分) 字符数组解决大整数存储溢出

Notice that the number 123456789 is a 9-digit number consisting exactly the numb...

6220

### PAT1050 String Subtraction (20分) 用布尔数组

Given two strings S​1​​ and S​2​​ , S=S​1​​ −S​2​​ is defined to be the remainin...

6440

### PAT 1051 Pop Sequence (25分) 模拟入栈

Given a stack which can keep M numbers at most. Push N numbers in the order of 1...

6230

### PAT 1052 Linked List Sorting (25分) 结构体排序而已

A linked list consists of a series of structures, which are not necessarily adja...

6410

### PAT 1041 Be Unique (20分)利用数组找出只出现一次的数字

Being unique is so important to people on Mars that even their lottery is design...

10630

### PAT1045 Favorite Color Stripe (30分) 动态规划

Eva is trying to make her own color stripe out of a given one. She would like to...

8820

### PAT 1043 Is It a Binary Search Tree (25分) 由前序遍历得到二叉搜索树的后序遍历

A Binary Search Tree (BST) is recursively defined as a binary tree which has the...

7210

### PAT1042 Shuffling Machine (20分) 用1-54代替点数更方便哦

Shuffling is a procedure used to randomize a deck of playing cards. Because stan...

8120

### PAT 1044 Shopping in Mars (25分) 二分法

Shopping in Mars is quite a different experience. The Mars people pay by chained...

7720