####问题springcloud getway配置文件加载失败 Description: Failed to bind properties under 'spring.cloud.gateway' to org.springframework.cloud.gateway.config.Gatew ...
分类:
编程语言 时间:
2020-06-14 12:54:40
阅读次数:
342
package Demo; /** * @Author:胡琪 * @Description: * @Date: created in 15:31 2019/6/12 */ public class SnowflakeIdUtils { // Fields /** 开始时间截 (2015-01-01) ...
分类:
编程语言 时间:
2020-06-14 12:50:47
阅读次数:
52
Description link Solution 看到这种题,首先是两个数作差 然后我们把所有的差连起来,每个序列和每个序列中间加上一个极大值 然后求出来 \(sa\) 和 \(height\) 数组,并且把所 要求的就是在每 \(n\) 个串的 \(lcp\) (这里好像就可以直接$height ...
分类:
其他好文 时间:
2020-06-14 12:48:37
阅读次数:
65
package LeetCode_227 import java.util.* /** * 227. Basic Calculator II * https://leetcode.com/problems/basic-calculator-ii/description/ * * Implement ...
分类:
其他好文 时间:
2020-06-13 22:58:15
阅读次数:
72
package LeetCode_224 import java.util.* /** * 224. Basic Calculator * https://leetcode.com/problems/basic-calculator/description/ * * Implement a basi ...
分类:
其他好文 时间:
2020-06-13 19:22:56
阅读次数:
53
1,/etc/init.d/目录下缺少nginx默认启动脚本 vim /etc/init.d/nginx 新建脚本文件,然后把下面的代码复制进去 #! /bin/sh # chkconfig: 2345 55 25 # Description: Startup script for nginx we ...
分类:
其他好文 时间:
2020-06-13 18:54:10
阅读次数:
69
做多网络流之后来个期望水一发 Description link 有一个 $1 \sim n$ 的排列,会进行 \(m\) 次操作,操作为交换 \(a,b\)。每次操作都有 $50%$ 的概率进行。 求进行 \(m\) 次操作以后的期望逆序对个数。 \(n,m\le 1000\) Solution 首 ...
分类:
其他好文 时间:
2020-06-13 17:48:36
阅读次数:
90
Description Given a positive integer n, find the number of non-negative integers less than or equal to n, whose binary representations do NOT contain ...
分类:
其他好文 时间:
2020-06-13 17:32:34
阅读次数:
56
##题面 Problem Description 一天,淘气的Tom不小心将水泼到了他哥哥Jerry刚完成的作文上。原本崭新的作文纸顿时变得皱巴巴的,更糟糕的是由于水的关系,许多字都看不清了。可怜的Tom知道他闯下大祸了,等Jerry回来一定少不了一顿修理。现在Tom只想知道Jerry的作文被“破坏 ...
分类:
其他好文 时间:
2020-06-13 17:09:20
阅读次数:
50
package LeetCode_40 /** * 40. Combination Sum II * https://leetcode.com/problems/combination-sum-ii/description/ * * Given a collection of candidate n ...
分类:
其他好文 时间:
2020-06-13 15:59:33
阅读次数:
59