一、Eureka Server高可用搭建(服务注册中心) 1.1MAVEN相关依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <ve ...
分类:
编程语言 时间:
2020-04-17 00:51:50
阅读次数:
240
题目大意都比较简单,用vector存一下图,然后爆搜就可以了。 #include<bits/stdc++.h> using namespace std; const int N=1e3+7; vector<int >ve[100]; bool mark[N]; int path[N]; string ...
分类:
其他好文 时间:
2020-04-14 16:33:08
阅读次数:
44
1 //简单题 2 class Solution 3 { 4 public: 5 vector<string> summaryRanges(vector<int>& nums) 6 { 7 vector<string> res; 8 if(nums.empty()) return res; 9 ve ...
分类:
其他好文 时间:
2020-04-12 12:45:57
阅读次数:
49
题目: You've got a string a1,a2,…,ana1,a2,…,an, consisting of zeros and ones. Let's call a sequence of consecutive elements ai,ai?+?1,…,?ajai,ai?+?1,…,? ...
分类:
其他好文 时间:
2020-04-11 20:50:12
阅读次数:
58
嘤嘤嘤,因为最近文化课老师追的紧了+班主任开班会,所以这博客是赶制的赝品 题目: You've got a string a1,a2,…,ana1,a2,…,an, consisting of zeros and ones. Let's call a sequence of consecutive ...
分类:
其他好文 时间:
2020-04-11 20:24:04
阅读次数:
91
一、需要思考的问题包括以下几点: 双指针是什么,什么时候需要用到双指针 通用的模板是什么 实现过程中需要注意的细节有哪些 常见的双指针题型有哪些 二、模板整理 三、专题训练 1.Leetcode283 1 class Solution { 2 public: 3 void moveZeroes(ve ...
分类:
其他好文 时间:
2020-04-08 22:38:58
阅读次数:
79
什么是npm? npm 是 JavaScript 世界的包管理工具,并且是 Node.js 平台的默认包管理工具。通过 npm 可以安装、共享、分发代码,管理项目依赖关系 npm version的含义 每个npm包都有一个package.json,如果要发布包的话,package.json里面的ve ...
分类:
其他好文 时间:
2020-04-05 18:59:34
阅读次数:
194
Problem : Given a list of non negative integers, arrange them such that they form the largest number. Example 1: Example 2: Note: The result may be ve ...
分类:
其他好文 时间:
2020-04-04 22:44:47
阅读次数:
75
Debugging SSL on Linux To help anyone looking at the SSL code, here are a few tips I've found handy. Contents Logging Network Traces Logging There are ...
分类:
系统相关 时间:
2020-04-02 19:44:51
阅读次数:
84
Windows内核分析索引目录:https://www.cnblogs.com/onetrainee/p/11675224.html 异常(1) 1. 异常种类 2. CPU异常的产生 3. 用户模拟异常 4.CPU异常与用户模拟异常的总结 5. 内核层异常的分发与处理6. 用户层的异常处理7.VE ...
分类:
其他好文 时间:
2020-04-02 19:32:04
阅读次数:
97