E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
TOT
单词拼写检查
definefo(i,j,k)for(i=j;i>word;insert(word);}scanf("%d",&n);fo(i,1,n){cin>>word;find(word);}printf("%d\n",
tot
我要吃熊猫
·
2020-07-31 16:38
hash
POJ 1990 (树状数组入门)
比i大的距离差=i之间的所有的坐标和(
tot
)-比i小的坐标和(dis_small)-比i位置大的个数*i的位置;–>是不是呢?
Charon_HN
·
2020-07-31 16:10
数据结构
树状数组
【后缀自动机】HDU4622[Reincarnation]题解
看图:从图中可以比较明显的看出多出的部分就是s->MAX-father(s)->MAX,而每次插入并不会引起大规模变化,所以我们一边扩展,一边修正子串个数
tot
就行了。
ZigZagK
·
2020-07-31 13:30
HDU题解
后缀自动机
[AtCoder ARC058C] 和風いろはちゃん / Iroha and Haiku(Hash + 状压 DP) | 错题本
#include#include#includeinttot;voidDfs(intsum){if(sum>17)return;
tot
++;for(inti=1;i#include#include#include
ixRic
·
2020-07-31 11:43
[
错题本
]
#
状压
DP
哈希
动态规划
状态压缩
ORA-01653解决办法,表空间不足
--查看表空间使用情况SELECTUPPER(F.TABLESPACE_NAME)"表空间名",D.
TOT
_GROOTTE_MB"表空间大小(M)",D.
TOT
_GROOTTE_MB-F.TOTAL_BYTES
拱头
·
2020-07-31 11:47
Oralce学习笔记
LOJ #104 BZOJ P3224 普通平衡树【Splay板子】
#includeconstintN=1e5+5;intn,rt,
tot
,fa[N],ch[N][2],val[N],cnt[N],sz[N];structSplay{voidmaintain(intx)
Riypo_Yian
·
2020-07-31 11:14
BZOJ
LOJ
数据结构-Splay
递推+贪心——金币
(1#includeusingnamespacestd;intn,q,a[200005],x,c[35]={1},d[35],
tot
;intmain(){for(inti=1;i=0;j--){int
C2021hyf
·
2020-07-31 09:43
题解
硬币面值组合(简单枚举 C++)
输入一个整数n(1intmain(){intn,
tot
=0;//
tot
用来记录方案数scanf("%d",&n);for(intk=0;k=0;i--)//枚举1角的
密码锁
·
2020-07-31 09:43
枚举
牛客网三道编程题(六) 之华为机试在线训练(五)对随机数字去重、排序;取近似值
include#include#includeusingnamespacestd;boolcomp(constint&s1,constint&s2)//和sort()函数搭配使用{returns1>num_
tot
denghe1122
·
2020-07-30 23:04
华为机试108题
Oracle查询表空间使用情况(经典篇)
Oracle查询表空间使用情况(经典篇)--查询表空间使用情况SELECTUPPER(F.TABLESPACE_NAME)"表空间名",D.
TOT
_GROOTTE_MB"表空间大小(M)",D.
TOT
_GROOTTE_MB-F.TOTAL_BYTES
tiandp007
·
2020-07-30 20:49
二分图最大匹配-HK算法的简单理解和实现
=-1;i=e[i].nxt){intv=e[i].v;if(vis[v]==
tot
)continue;vis[v]=
tot
;if(con[v]==-1||dfs(con[v],
tot
)){con[
_ 泛白
·
2020-07-30 16:04
图论
[csp2019]Emiya家今天的饭
tot
)return;Rep(i,1,m)if(cnt[i]>
tot
/2)return;ans=(ans+plus)%mod;ret
NephrenRuqInsania
·
2020-07-30 08:29
#
背包
oracle数据库性能监控的SQL
监控事例的等待SQL>selectevent,sum(decode(wait_Time,0,0,1))"Prev",sum(decode(wait_Time,0,1,0))"Curr",count(*)"
Tot
"fromv
missyesterday
·
2020-07-29 21:43
java
Pytorch中函数torchvision总结
transforms.Compose([transforms.Resize(256),transforms.RandomCrop(224),transforms.RandomHorizontalFlip(),transforms.
ToT
从天而降小可爱
·
2020-07-28 19:46
pytorch
CSU 1208: Fibonacci sum
(a+b)^k应该联想到二项式的啊
ToT
,而且他说k#include#defineMOD1000000007#definemaxn25longlongC[25][25];longlongret[maxn
weixin_30404405
·
2020-07-28 16:17
poj3910欧拉函数的矩阵应用
//有点问题#include#includeconstintmo=1000000007;longlongi,n,j,a[101000],bj[101000],k,
tot
,ans;intmain(){//
&小鹏鹏
·
2020-07-28 14:34
ORACLE数据库增加表空间大小或给表空间增加数据文件
----查询表空间使用情况—SELECTUPPER(F.TABLESPACE_NAME)"表空间名",D.
TOT
_GROOTTE_MB"表空间大小(M)",D.
TOT
_GROOTTE_MB-F.TOTAL_BYTES
SumMer4612
·
2020-07-28 13:33
Oracle
Oracle
表空间
蓝桥杯 算法训练 最短路
直接套模板就能过这里提供一下模板#includeusingnamespacestd;constintN=100010,M=1000010;inthead[N],ver[M],edge[M],Next[M],d[N];intn,m,
tot
nobugexist
·
2020-07-28 09:25
Codeforces Round #630 (Div. 2)
假设最后是kkk,(nm∗k−
tot
)%2=0(nm*k-
tot
)\%2=0(nm∗k−
tot
)%2=0是必要条件。当然,我们简单推一
mxYlulu
·
2020-07-28 04:24
T2 [NOI Online 提高组]冒泡排序 题解
主要是这个思想需要转变暴力模拟肯定不行我们仔细观察一下:我们需要在第一时间内知道当前这个数字前面有多少个数字比这个数字大说人话:知道在0~i-1下标有多少个数字比a[i]大这个可以考虑统计一下树状数组统计一下比他小的数字有多少个(记作
tot
莼爱至情
·
2020-07-27 20:10
算法
数据结构心得
刷题心得
算法
数据结构
POJ1251 Jungle Roads 最小生成树Kruskal
cin才A掉#include#include#include#include#includeusingnamespacestd;#defineMAX_V(30)#defineMAX_E(100)intn,
tot
LOI_DawnKing-
·
2020-07-27 16:22
图论
并查集
第十一届蓝桥杯软件类C/C++大学B组省赛
3880publicclassMain{publicstaticvoidmain(String[]args){inttot=10000;booleango=true;intans=0;while(true&&
tot
剑气扬名
·
2020-07-19 11:17
蓝桥杯
Spark-Shell运行任务
上一篇Spark集群部署】1.Spark-Shell交互式编程1.1启动命令bin/spark-shell\--masterspark://l0:7077\--executor-memory1g\--
tot
冬语
·
2020-07-16 04:56
大数据
spark
浅谈数据结构-树状数组
例题:已知一个数列,你需要进行下面两种操作:1.将某一个数加上x2.求出某区间每一个数的和数列的长度0){
tot
+=c[pos];pos-=lowbit(pos);}}对于修改操作,我们只要找到涵盖点x
mango_yang
·
2020-07-16 03:11
洛谷P4001 狼抓兔子 2006北京区域赛
的基础上加了条边,还是平面图转对偶图板题#includeusingnamespacestd;constintmaxl=2010;constintinf=2e9+10;typedefpairp;intn,m,
tot
二分抄代码
·
2020-07-16 02:45
平面图
ccf csp 201812-1 小明上学
intr,y,g;cin>>r>>y>>g;intn;cin>>n;inttot=0;for(inti=0;i>k>>t;if(k==0){
tot
大吉大利,今晚AC
·
2020-07-16 01:04
JS reduce 用法
函数参数:参数描述
tot
fw19940314
·
2020-07-15 23:02
JS
Tomcat中JVM内存溢出及合理配置及maxThreads如何配置(转)
来源:http://www.
tot
.name/html/20150530/20150530102930.htmTomcat本身不能直接在计算机上运行,需要依赖于硬件基础之上的操作系统和一个Java虚拟机
dfug3303
·
2020-07-15 22:22
获取每个月有几周,开始到结束的时间
whatdayisfirstdayd.setFullYear(year,month-1,1);//设置时间为2018-01-01letw1=d.getDay();//这天是周几if(w1===0)w1=7;//1,2,3,4,5,6,7//
tot
Deidei☀️
·
2020-07-15 13:30
web前端
JavaScript
Codeforces 198E
每个爪子只被拿走一次,并且只更新一次,并且更新的复杂度总的来说为n(logn)2#include#include#include#includeusingnamespacestd;inti,j,k,X,Y,all,
tot
After0514
·
2020-07-15 09:16
数据结构
洛谷 P1029 最大公约数和最小公倍数问题
1299709,n=100000//maxv=1000003,n=78499constintmaxv=1000003;constintn=78500;boolcheck[maxv];intprimes[n],
tot
weixin_42104573
·
2020-07-15 07:34
数论
洛谷
输入学生成绩,计算80分以上的学生的人数及所占的比例
inttotal;//总人数intnum=0;//成绩大于80分的人数Scannerinput=newScanner(System.in);System.out.print("请输入班级的总人数:");
tot
weixin_30911451
·
2020-07-15 04:52
浅谈二分答案
要从中选出C个数(2usingnamespacestd;inti,j,k,n,m,
tot
,ans,l,r,mid,f[100005]
stevensonson
·
2020-07-14 23:30
c语言
c++
3629: [JLOI2014]聪明的燕姿 (搜索+筛法)
include#include#include#includeusingnamespacestd;#defineinf0x7fffffffconstintmaxn=1000005;ints,n,sqrts,
tot
ndsffx501ccy
·
2020-07-14 15:44
搜索
其他
[Bzoj1597][Usaco2008 Mar]土地购买
#include#include#includeusingnamespacestd;structdata{intx,y;}a[50005];intq[50005],l,r,
tot
,n;longlongx
ndsffx501ccy
·
2020-07-14 15:44
动态规划/贪心/递推
hdu 1695 欧拉筛+容斥原理
include#include#include#includeusingnamespacestd;typedeflonglongLL;constintmaxn=100000+5;intphi[maxn],
tot
老铁干了这碗algorithms
·
2020-07-14 14:39
数论
【luogu P3808 AC自动机(简单版)】 模板
include#include#include#includeusingnamespacestd;constintmaxn=1000010;intn,trie[maxn][27],next[maxn],
tot
disnmlf23266651
·
2020-07-14 09:16
哈夫曼树的构造
(证明略~)示例代码:#include#include#includeusingnamespacestd;constintmaxn=2000005;intn,
tot
,a[m
DYT_B
·
2020-07-14 04:18
知识整理
其他
ORACLE数据库增加表空间大小或给表空间增加数据文件
blog.csdn.net/qq_40477943/article/details/80625371----查询表空间使用情况—SELECTUPPER(F.TABLESPACE_NAME)"表空间名",D.
TOT
_GROOTTE_MB
蓝色电光小火花
·
2020-07-14 02:17
《php开发典型模块大全》读书笔记 第三章 mysql数据库基础
第三章mysql基础showcolumnsfromtabledescribetablealtertable修改表renametablet1
tot
2整型整数类型是数据库中最基本的数据类型。
ibmfashion
·
2020-07-14 01:36
mysql
SWFIT3中banner定制2
MARK:设置总页数后,启动动画funcsetTotalPagesCount(totalPageCout:(()->Int)){self.totalPages=totalPageCout()print("
tot
hoggenWang
·
2020-07-13 23:06
tarjan求割点
发现之前的求割点模板有问题,新搞一份#include#include#include#defineN1001usingnamespacestd;intn,id,
tot
;intdfn[N],low[N];
cwb丶
·
2020-07-13 03:36
图论
备战Noip2018模拟赛5(B组)T3 Num 约数研究
输入格式输入一行,一个整数n输出格式输出一个整数,表示总和输入样例3输出样例5数据范围20%N#includeusingnamespacestd;intn,i,
tot
;intmain(){//freopen
SEVE_M
·
2020-07-13 00:49
NOIP普及
模拟赛
数论
2018秋季集训
mongodb 解决报错 TypeError: db.collection is not a function
andwillberemovedinafutureversion.TousethenewServerDiscoverandMonitoringengine,passoption{useUnifiedTopology:true}
tot
wyqvong
·
2020-07-12 16:41
nodejs
MongoDB
pyhon requests 下载进度详细实例
importrequestsfromcontextlibimportclosingclassProgressBar(object):#初始化实例def__init__(self,title,count=0.0,run_status=None,fin_status=None,
tot
MakChiKin
·
2020-07-12 11:43
python
tarjan无向图缩点
introot=1;intbelong[MAXN],
tot
;intdfn[MAXN],low[MAXN],num;intstack[MAXN],top;boolinstack[MAXN];voidtarjan
weixin_30312563
·
2020-07-12 05:27
强连通分量(tarjan算法)
include#definemax110usingnamespacestd;intpar[max],in[max],out[max];intlow[max],dnf[max],sta[max],ccount,
tot
huanzhizun
·
2020-07-12 03:51
强连通分量
图论
【关节点+桥】关节点和桥模板 Tarjan
,idx;Edge(){}Edge(int_v,int_next,int_idx):v(_v),next(_next),idx(_idx){}}e[M];intdfn[N],deep,head[N],
tot
J_Sure
·
2020-07-12 02:08
连通图
Tarjan
模板
记一下当代码中有两个subprocess.Popen时,第二子进程阻塞的问题
最近忙于实习好久都没写博客啦,昨天由于对于bash和subprocess模块的不熟悉,浪费了一天的时间(留下了没有技术的泪水
TOT
)。
HoweChenya
·
2020-07-12 02:20
Linux
Python日记
进程通信
CF521D Shop 贪心
对一个位置进行乘法.显然,如果想让结果最大,顺序一定是1,2,3即先赋值再加最后乘.3种情况同时存在不好比较,那么考虑将所有操作都转换成乘法.假设一个操作加了$x$,另一个操作乘了$y$,则操作后分别为:$
tot
EM-LGH
·
2020-07-11 12:00
上一页
12
13
14
15
16
17
18
19
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他