1 #include <bits/stdc++.h> 2 using namespace std; 3 int main() { 4 int t; 5 cin >> t; 6 while (t--) { 7 int a, b; 8 string a_line, b_line; 9 cin >> a ...
分类:
其他好文 时间:
2020-11-30 15:20:06
阅读次数:
5
接口测试平台:支持混合Case的执行(Http\Dubbo\Sql)首先还是看前端~Case的管理页面,由原本的Http变成支持Http、Dubbo以及Sql。集合详情页,Case所展示的内容也做了适当调整,只会展示Case名称和Case类型。这张表用于保存集合内的case顺序。然后新建了一个CommonCase,caseInfo字段用于保存case的完整信息。publicclassCommonC
分类:
数据库 时间:
2020-11-30 15:17:40
阅读次数:
7
ES语句构造麻烦,每次都拼,这次备份一下 1. 创建索引 PUT http://sae1002.qihoo.ai:9200/kosmos {"settings":{"index":{"number_of_shards":1,"number_of_replicas":1},"analysis":{"f ...
分类:
其他好文 时间:
2020-11-27 11:47:06
阅读次数:
18
因为总是看到很多同学在说Elasticsearch性能不够好、集群不够稳定,询问关于Elasticsearch的调优,但是每次都是一个个点的单独讲,很多时候都是case by case的解答,本文简单梳理下日常的Elasticsearch使用调优,以下仅为自己日常经验之谈,如有疏漏,还请大家帮忙指正 ...
分类:
其他好文 时间:
2020-11-27 11:45:01
阅读次数:
11
html 代码 <div class="data_bodey"> <div class="index_nav" > <ul style="height: 30px; margin-bottom: 0px;"> <li class="l_left total_chose_fr nav_active"> ...
分类:
Web程序 时间:
2020-11-27 11:40:13
阅读次数:
14
###题目 1160. Find Words That Can Be Formed by Characters ###解题方法 先把可使用的所有字符放入字典charscount,以“字符:可出现次数”的形式存放,然后遍历words中的每个单词,初始化tempcount字典为charscount的副本 ...
分类:
其他好文 时间:
2020-11-27 11:39:59
阅读次数:
10
while循环中使用输出语句停止死循环的原因 z1340954953 2018-11-05 16:23:16 3021 收藏 1 分类专栏: 多线程 文章标签: 输出语句中断死循环 直接看代码 public class WhileTest { private boolean flag = true; ...
分类:
其他好文 时间:
2020-11-27 11:13:18
阅读次数:
7
print("********如何实现switch-case********") local switch = { [1] = function() print ("case1") end, [2] = function() print ("case2") end, [3] = function() ...
分类:
其他好文 时间:
2020-11-27 11:06:56
阅读次数:
4
1、耗时操作(IO)处理 在开发中针对如何处理耗时的操作,不同的语言有不同的处理方式 处理方式一: 多线程,比如Java、C++,我们普遍的做法是开启一个新的线程(Thread),在新的线程中完成这些异步的操作,再通过线程间通信的方式,将拿到的数据传递给主线程。 处理方式二: 单线程+事件循环,比如 ...
分类:
其他好文 时间:
2020-11-27 11:04:51
阅读次数:
4
官方网站:https://perfdog.qq.com/ 使用说明:https://bbs.perfdog.qq.com/article-detail.html?id=5 1、登录官方网站,根据你的PC平台选择想要下载的桌面应用程序(下面是以WIN为例) 2、Windows平台:解压下载包,双击打开 ...
分类:
其他好文 时间:
2020-11-27 11:03:20
阅读次数:
4