1020 Tree Traversals (25分) ps:tmp定义在函数里过了,定在函数外面错了,人给整傻了 #include <bits/stdc++.h> using namespace std; const int maxn = 1e5 + 10 ; int post[maxn], in[ ...
分类:
其他好文 时间:
2020-02-20 20:26:35
阅读次数:
54
Given a string, we need to find the total number of its distinct substrings. 给你一个字符中,统计有多少个不同的子串InputT- number of test cases. T<=20;Each test case con ...
分类:
其他好文 时间:
2020-02-20 19:55:37
阅读次数:
59
报错如下:mongodb shard could not find host matching read preference {mode \"primary\" for set shard1 检查副本集shard1 主库正常,从库show dbs报错 报错误如下:not master and sl ...
分类:
数据库 时间:
2020-02-20 13:11:54
阅读次数:
112
1 """ 2 Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which giv ...
分类:
其他好文 时间:
2020-02-20 13:06:07
阅读次数:
65
我们可以运行一下.net core看一下出来的页面效果,到现在我们需要的.net core的事例已经准备好了,我们现在开始在docker 中部署了。我们打开PowerShell ,输入 docker info 出现下面的界面的样子证明docker 一切正常。 我们进入到我们刚刚创建的.net cor ...
分类:
Web程序 时间:
2020-02-20 09:21:59
阅读次数:
240
Pychrm运行django过程中,报错 "GET /c_hello?asker=backuper HTTP/1.1" 404,原因是django服务的启动端口被其他进程占用了, 1、在windows下cmd运行netstat -ano | find "8000"查找占用改端口的进程pid 2、查看 ...
分类:
Web程序 时间:
2020-02-20 09:21:38
阅读次数:
230
上传部分截图 一、特征: 1.由标签对组成 、、、 括号内为标签名称 2.标签有属性 、 3.标签对中可以有文本 新闻 、地图 4.标签有层级关系 ,红色箭头表示对应层级 二、定位元素特征,以百度输入框和搜索按钮举例 输入框截图: 搜索按钮截图: 1.ID定位 : HTML规定该属性唯一性 find ...
今天发现自己的Android studio版本有些低,于是删除重新在官网下载了最新版本的,结果新建项目会报错,unable to find valid certification path to requested target,今天没有解决明天再说 ...
分类:
其他好文 时间:
2020-02-19 23:40:38
阅读次数:
63
Webdriver提供了八种元素定位方法: Webdriver提供了八种元素定位方法,对应Java语法: id findElement(By.id()); 或者 findElements(By.id()); name findElement(By.name()); class name findEl ...
1 """ 2 Given a string, find the length of the longest substring without repeating characters. 3 Example 1: 4 Input: "abcabcbb" 5 Output: 3 6 Explanat ...
分类:
其他好文 时间:
2020-02-19 21:02:41
阅读次数:
53