Java Program to Find Largest Element of an array In this program, you'll learn to find the largest element in an array using a for loop in Java. Examp ...
分类:
其他好文 时间:
2020-06-03 00:32:38
阅读次数:
55
#include<bits/stdc++.h> using namespace std; typedef long long LL; const int mod=1000000007; LL PowMod(LL x,LL n) { LL res=1; while(n) { if(n&1) { res ...
分类:
其他好文 时间:
2020-06-02 19:21:04
阅读次数:
72
题目链接 题解 很裸的网络流,加入源点和汇点对二分图求最大匹配,跑最大流就行了 记录方案只需要看对应边的剩余容量是否为0。 查看代码 #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn ...
分类:
其他好文 时间:
2020-06-02 19:08:03
阅读次数:
50
有障碍, ***。。 。。。。 求回路数量 #include <cstdio> #include <cstring> #include <iostream> #include <cmath> using namespace std; typedef long long LL; const int L ...
分类:
其他好文 时间:
2020-06-01 14:19:17
阅读次数:
61
ll result_len,result[maxn],level=0,trans[maxn]; ll quick(ll a,ll b,ll m) { ll ans=1; while(b>0) { if(b&1) ans=ans*a%m; a=a*a%m; b>>=1; } return ans; } ...
分类:
其他好文 时间:
2020-06-01 14:04:02
阅读次数:
63
重装了系统之后,使用ll命令竟然发现报错了。 bash: ll:未找到命令 果断解决一波: vim ~/.bashrc 将alias ll=’ls -l‘前面的注释符号#删掉 运行 问题完美解决。 ...
分类:
其他好文 时间:
2020-06-01 10:22:36
阅读次数:
136
In this program, you'll learn to calculate the standard deviation using a function in Java. This program calculates the standard deviation of a indivi ...
分类:
编程语言 时间:
2020-06-01 01:00:16
阅读次数:
72
最近在学习 spring+mybatis,启动时报了这个错: Cause: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 6; 不允许有匹配 "[xX][mM][lL]" 的处理指令目标。 解决: 找到配置文件,xxx-con ...
分类:
编程语言 时间:
2020-05-31 16:18:12
阅读次数:
188
题目传送门 A. Park Lighting #include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (register int i = a; i <= b; i++) ...
分类:
其他好文 时间:
2020-05-31 14:30:38
阅读次数:
584
1.获取镜像 -- :4 指定redis Tag Name -- ? docker pull redis:4 2.构建运行目录 ? redis ll drwxr-xr-x 3 pb staff 102B 9 17 10:06 conf drwxr-xr-x@ 4 pb staff 136B 9 17 ...
分类:
其他好文 时间:
2020-05-30 18:26:18
阅读次数:
65