vblog

61 篇文章
13 人订阅

全部文章

vivi

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

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

9130
vivi

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

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

7620
vivi

MBG配置文件模板+配置解释+使用方式

为了提高工作效率,我们经常使用MybatisGenerator逆向工程为数据库表生成对应的实体类、DAO接口、Mapper映射文件,最重要的一个步骤就是编写ge...

37330
vivi

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

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

9740
vivi

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

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

8420
vivi

PAT 1025 PAT Ranking (25分) vector + sort

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

9820
vivi

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

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

8410
vivi

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

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

21830
vivi

ElasticSearch入门项目--仿京东搜索

此项目是跟随狂神ES课程入门所做的SpringBoot+ES+Vue实战项目,在视频的基础上,已实现前后端分离。功能比较简单,实现的基本的爬取+储存+搜索+高亮...

11130
vivi

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

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

10230
vivi

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

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

7740
vivi

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

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

6220
vivi

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

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

6440
vivi

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

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

6230
vivi

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

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

6410
vivi

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

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

10630
vivi

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

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

8820
vivi

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
vivi

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

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

8120
vivi

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

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

7720

扫码关注云+社区

领取腾讯云代金券