#include<bits/stdc++.h> using namespace std; typedef long long ll; namespace MCMF { const int MAXN = 10000, MAXM = 10000, INF = 0x7fffffff; int head[M ...
分类:
其他好文 时间:
2021-05-25 17:42:56
阅读次数:
0
<script> function main(config){ // const dbHost = config && config.db && config.db.host; const dbHost =config?.db?.host; console.log(dbHost); // 192.1 ...
分类:
其他好文 时间:
2021-05-25 17:41:36
阅读次数:
0
shell 在线编辑器:https://www.runoob.com/try/runcode.php?filename=helloworld&type=bash 一下脚本自行测试查看结果 echo "Hello World !" your_name="qinjx" echo your_name fo ...
分类:
系统相关 时间:
2021-05-24 17:21:02
阅读次数:
0
for i in `ps -AL |grep Worker | awk '{print $2}'`; do \ echo $i ; \ gdb --q --n --ex bt --batch --pid $i; \ done 2>&1 |tee /var/stacks.txt CPU使用率较低但负载 ...
分类:
数据库 时间:
2021-05-24 17:19:34
阅读次数:
0
更相减损术 #include <stdio.h> int main(void) { int a = 0, b = 0, cnt = 0, min = 0, max = 0, sub = 1; scanf("%d%d", &a, &b); while(!(a & 0x1) && !(b & 0x1)) ...
分类:
编程语言 时间:
2021-05-24 17:03:25
阅读次数:
0
面向对象 一.初识面向对象 面向对象&面向过程 面向过程: 步骤清晰简单,第一步做什么,第二步做什么。 面向过程适合处理一些较为简单的问题。 面向对象:(Object-Oriented Programming, OOP)本质是:以类的方式组织代码,以对象的组织(封装)数据。 物以类聚,分类的思维模式 ...
分类:
其他好文 时间:
2021-05-24 17:02:17
阅读次数:
0
Linux 指令 & 快捷键 指令 date 时间 cal 日历 df 磁盘状态 free 内存状态 exit 退出会话 pwd 显示工作目录 ls ${paths} 显示文件列表 ls -a 显示隐藏文件 ls -l 长模式输出 ls -t 根据修改时间倒序排序 ls -r 翻转结果顺序 ls - ...
分类:
系统相关 时间:
2021-05-24 16:23:20
阅读次数:
0
请根据每日 气温 列表,重新生成一个列表。对应位置的输出为:要想观测到更高的气温,至少需要等待的天数。如果气温在这之后都不会升高,请在该位置用 0 来代替。 例如,给定一个列表 temperatures = [73, 74, 75, 71, 69, 72, 76, 73],你的输出应该是 [1, 1 ...
分类:
其他好文 时间:
2021-05-24 16:21:35
阅读次数:
0
// 文本流 QFile file("aaa.txt"); file.open(QFileDevice::WriteOnly); QTextStream stream(&file); stream<<QString("hell oworld")<<123456; file.close(); // 读 ...
分类:
其他好文 时间:
2021-05-24 16:16:10
阅读次数:
0
#include<cstdio> #include<iostream> #include<cstring> #include<cmath> #include<algorithm> using namespace std; const int N=505; int s,p,tot,cnt; struc ...
分类:
其他好文 时间:
2021-05-24 16:03:43
阅读次数:
0