2020 Multi-University Training Contest 2 施工中。。。 1001 Total Eclipse 并查集。由于每次选择最大的连通块,所以连通块每次选择最小的点,删除后选择新的连通块组继续操作。 对于每个连通块,用并查集反向处理连通块即可。 将当前最大的点加入图,并 ...
分类:
其他好文 时间:
2020-07-23 23:11:17
阅读次数:
218
SELECT a.tablespace_name 表空间名称, total 总计, total - free 已使用, free 空闲, round((total - free) / total * 100, 2) 使用占比FROM ( SELECT tablespace_name , round( ...
分类:
其他好文 时间:
2020-07-20 22:36:26
阅读次数:
76
curl -o /dev/null -s -w %{time_namelookup} %{time_connect} %{time_starttransfer} %{time_total} %{speed_download}"\n" https://www.baidu.com -o:把curl 返回 ...
分类:
Web程序 时间:
2020-07-20 15:33:07
阅读次数:
111
JavaScript高阶函数的使用 JS中的for循环 /* 普通的for循环 */ for (let i = 0; i < this.books.length; i++) { total += this.books[i].count * this.books[i].price; } /* let ...
分类:
Web程序 时间:
2020-07-18 15:29:53
阅读次数:
75
Running Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8597 Accepted: 3213 Description The cows are trying to become better athletes, so B ...
分类:
其他好文 时间:
2020-07-16 18:10:43
阅读次数:
60
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Now your job is to find the total ...
分类:
其他好文 时间:
2020-07-16 12:06:09
阅读次数:
75
添加删除记录(原生) 示例: /*style.css*/ @CHARSET "UTF-8"; #total { width: 450px; margin-left: auto; margin-right: auto; } ul { list-style-type: none; } li { bord ...
分类:
Web程序 时间:
2020-07-13 15:39:11
阅读次数:
71
创建目录mkdir [root@wzh ~]# mkdir wzh [root@wzh ~]# ll total 8 -rw . 1 root root 1430 Mar 16 22:50 anaconda-ks.cfg -rw-r--r--. 1 root root 16 Mar 18 23:30 ...
分类:
其他好文 时间:
2020-07-12 18:24:28
阅读次数:
87
top命令 top命令 [root@fpm_nginx /app]# top top - 12:19:58 up 3:45, 1 user, load average: 0.00, 0.02, 0.05 Tasks: 91 total, 1 running, 90 sleeping, 0 stopp ...
分类:
其他好文 时间:
2020-07-10 13:15:41
阅读次数:
116
problem 1010. Pairs of Songs With Total Durations Divisible by 60 参考 1. leetcode_1010. Pairs of Songs With Total Durations Divisible by 60; 完 ...
分类:
其他好文 时间:
2020-07-09 22:47:52
阅读次数:
73