题目链接 关于kmp : https://www.cnblogs.com/roccoshi/p/13096988.html 关于kmp, 想了很久, 我觉得不应该放在这里写, 另开一贴记录一下. #include<bits/stdc++.h> using namespace std; typedef ...
分类:
其他好文 时间:
2020-06-12 00:40:18
阅读次数:
51
Peer to Peer technology MP3 made copyrighted materially Space Shifting Vicarious Liability: Responsibility of any third party that had the "right, abi ...
分类:
其他好文 时间:
2020-06-11 23:16:21
阅读次数:
72
问题背景: oracle表空间不足报错是比较常见的故障,尤其是没有对剩余表空间做定期巡检的系统; 报错代码如下: oracle表空间不足错误代码:ORA-01653: unable to extend table ; 解决方式: 1、查看表空间使用率: 1 set linesize 220; 2 s ...
分类:
数据库 时间:
2020-06-11 22:08:14
阅读次数:
82
看题解之前,希望大家先自己列张表,会发现规律哦~ 用递归 #include<bits/stdc++.h>//万能头文件 using namespace std; int a[100005];//保存答案,当然你也可以直接输出(假如你能做到的话) int hhh(int N,int K) { if(N ...
分类:
其他好文 时间:
2020-06-11 20:03:28
阅读次数:
51
0、安装 python-pptx 库 pip install python-pptx 1、创建一张空幻灯片 # 加载库 import os from pptx import Presentation # 修改路径 work_path = r'E:\pyspace\tmp\pptx' os.chdir ...
分类:
编程语言 时间:
2020-06-11 19:40:46
阅读次数:
106
//我才不会告诉你我是乱做a了。。。看代码 #include<bits/stdc++.h> using namespace std; int main() { int n,d[500005];//数组开小会TLE啊啊啊,记得啊 int k=0; cin>>n; for(int i=0;i<n;i++ ...
分类:
其他好文 时间:
2020-06-11 19:33:28
阅读次数:
57
@mixin text-ellipsis() { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } @mixin text-ellipsis-multi($line) { display: -webkit-box; o ...
分类:
Web程序 时间:
2020-06-11 16:34:45
阅读次数:
77
当小程序的flex布局遇到button时 发现justify-content不起作用,无论怎么设置都是space-around的效果。 经过排查,发现原因是小程序button中的默认样式中的margin-left: auto;margin-right: auto;所引起的 覆盖掉就好了 flex 格 ...
分类:
微信 时间:
2020-06-11 16:15:16
阅读次数:
94
题目链接:https://codeforces.com/problemset/problem/1365/E 题意 有 $n$ 个元素,定义大小为 $k$ 的集合值为 $\sum2^i$,其中,若集合内至少有 $max(1, k - 2)$ 个数二进制下第 $i$ 位为 $1$,则第 $i$ 位有效, ...
分类:
其他好文 时间:
2020-06-11 16:10:31
阅读次数:
84
设 \(f(n,k)\) 为用 \(k\) 张牌组成 \(n\) 的方案数,则 \(f(n,k)=C_4^0 f(n?k,k)+C_4^1 f(n?k,k?1)+C_4^2f(n?k,k?2)+C_4^3 f(n?k,k?3)+ C_4^4 f(n?k,k?4)\) 也就是考虑这 \(k\) 张牌里 ...
分类:
其他好文 时间:
2020-06-11 13:50:51
阅读次数:
54