vivi

LV1
发表了文章

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

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

vivi
发表了文章

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

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

vivi
发表了文章

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

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

vivi
发表了文章

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

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

vivi
发表了文章

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

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

vivi
发表了文章

PAT 1025 PAT Ranking (25分) vector + sort

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

vivi
发表了文章

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

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

vivi
发表了文章

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

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

vivi
发表了文章

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

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

vivi
发表了文章

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

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

vivi
发表了文章

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

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

vivi
发表了文章

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

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

vivi
发表了文章

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

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

vivi
发表了文章

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

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

vivi
发表了文章

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

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

vivi
发表了文章

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

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

vivi
发表了文章

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

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

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...

vivi
发表了文章

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

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

vivi
发表了文章

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

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

vivi

个人简介

个人成就

扫码关注云+社区

领取腾讯云代金券