天气查询接口: 请求路径:http://wthrcdn.etouch.cn/weather_mini 请求方法:get 请求参数:city(查询的城市名) 响应内容:天气信息 歌曲搜索接口: 请求路径:https://autumnfish.cn/search 请求方法:get 请求参数:keywor ...
分类:
其他好文 时间:
2020-07-23 09:22:08
阅读次数:
158
天气查询接口: 请求路径:http://wthrcdn.etouch.cn/weather_mini 请求方法:get 请求参数:city(查询的城市名) 响应内容:天气信息 功能: 点击“北京”、“上海”、“上海”、“深圳”按钮可查询对应城市的5天天气 输入城市名,回车或点击“搜索”按钮 也可查询 ...
分类:
移动开发 时间:
2020-07-23 01:53:14
阅读次数:
121
Xenia lives in a city that has n houses built along the main ringroad. The ringroad houses are numbered 1 through n in the clockwise order. The ringro ...
分类:
其他好文 时间:
2020-07-22 16:21:56
阅读次数:
74
一.变量和数据类型 1.变量 语法:val / var 变量名:变量类型 = 值 val name:String = "zhangsan" 注意 1、val定义的变量想到于java的final,不可用被重新赋值 2、var定义的变量可以被重新赋值 3、在定义变量的时候,变量类型可以省略,scala会 ...
分类:
其他好文 时间:
2020-07-21 23:26:17
阅读次数:
111
废话不多说, 直接上代码: json文件: 1 { 2 "squadName" : "Super Hero Squad", 3 "homeTown" : "Metro City", 4 "formed" : 2016, 5 "secretBase" : "Super tower", 6 "activ ...
分类:
Web程序 时间:
2020-07-21 23:15:58
阅读次数:
127
https://www.jisuanke.com/contest/11360/challenges 其他题慢慢补 C. Pawn‘s Revenge You are playing a special chess game against a professor and you've almost ...
分类:
其他好文 时间:
2020-07-21 09:39:48
阅读次数:
95
update tb_city t2 join ( select a2,count(1),group_concat(a4) as a4,group_concat(a5) as a5 from weidu where a3 is null GROUP BY a2 HAVING count(1) = 1 ...
分类:
其他好文 时间:
2020-07-18 00:53:07
阅读次数:
89
N children are playing Rochambeau (scissors-rock-cloth) game with you. One of them is the judge. The rest children are divided into three groups (it i ...
分类:
其他好文 时间:
2020-07-18 00:42:12
阅读次数:
76
1.注意事项 1.创建索引时会将数据重新进行排序 2.创建索引会占用磁盘空间,所以索引不是越多越好 3.在同一列上避免创建多种索引 4.避免在数据很长的字段上创建索引,如果要创建就创建前缀索引 2.前缀索引 # 根据前四个字符创建前缀索引 mysql> alter table test add in ...
分类:
数据库 时间:
2020-07-17 22:31:51
阅读次数:
121
如果只要求判断有没有解的话很好做:以条树边被两条非树边覆盖即可. 输出方案的话可以考虑碰到一条非树边就暴力覆盖. 如果覆盖的过程中发现一条边已经被覆盖了就输出结果. 由于一条边只能被一种非树边覆盖,所以复杂度均摊下来是 $O(n)$ 的. 然后我们就得到两条路径 $(a,b)$ 与 $(c,d)$, ...
分类:
其他好文 时间:
2020-07-16 12:02:17
阅读次数:
55