using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Net.Sockets;using System.Text;using System.Threading;usi ...
Redis问题 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are dis ...
分类:
数据库 时间:
2020-10-13 17:08:07
阅读次数:
33
题意 给定五个整数 \(n,f_1,f_2,f_3,c\),其中数列 \(f\) 满足以下递推式: \(f_x=c^{2x-6}f_{x-1}f_{x-2}f_{x-3}\) 求 \(f_n\)。 \(\texttt{Data Range:}4\leq n\leq 10^{18},1\leq f_1 ...
分类:
其他好文 时间:
2020-10-12 20:06:34
阅读次数:
18
解法一 : #include <iostream> #include <cstdio> #include <algorithm> #include <string.h> using namespace std; char a[1000]; char b[1000]; void fun(char a[ ...
分类:
其他好文 时间:
2020-10-10 17:57:36
阅读次数:
27
1 背景 在k8s中基于alpine做底层系统的容器进行git lfs push操作时,发现报错无法上传成功 Fatal error: Server error: http://git.ops.xxxxx.com/xxxx/yyyy.git/gitlab-lfs/objects/b6f9dd313c ...
分类:
Web程序 时间:
2020-10-10 17:45:46
阅读次数:
29
刚开始陷入了误区了,网上很多参考例子都是如何实现身份证验证,而且看到konga上面配置身份插件的地方基本都有consumer一个配置项,一直纠结在这个如何通过key-auth实现指定的route或者service指定消费者才能访问。这个误区解答就是kong身份认证和权限是独立的。 也就是说我们在添加 ...
分类:
其他好文 时间:
2020-10-09 21:22:49
阅读次数:
39
Error writing to output file - write (28: No space left on device) [IP: 91.189.88.142 80] Fetched 18.4 MB in 18s (1028 kB/s) Reading package lists... ...
分类:
其他好文 时间:
2020-10-09 21:20:39
阅读次数:
26
Spring Boot 整合mybatis操作数据库
分类:
数据库 时间:
2020-10-08 19:21:57
阅读次数:
30
什么是字典树 基本概念 字典树,又称为单词查找树或Tire树,是一种树形结构,它是一种哈希树的变种,用于存储字符串及其相关信息。 基本性质 1.根节点不包含字符,除根节点外的每一个子节点都包含一个字符 2.从根节点到某一节点。从根节点到该节点路径上经过的字符连接起来,就是该节点对应的字符串 3.同一 ...
分类:
编程语言 时间:
2020-10-08 19:15:43
阅读次数:
23
For a binary tree T, we can define a flip operation as follows: choose any node, and swap the left and right child subtrees. A binary tree X is flip e ...
分类:
其他好文 时间:
2020-10-08 19:09:30
阅读次数:
24