https://diskdigger.org/ https://www.cr173.com/soft/11290.html ...
分类:
其他好文 时间:
2020-01-31 15:57:11
阅读次数:
76
Given a list of words (without duplicates), please write a program that returns all concatenated words in the given list of words. A concatenated word ...
分类:
编程语言 时间:
2020-01-31 10:38:24
阅读次数:
73
把master分支git下来: git clone git@github.com:opencv/opencv.git 查看可用的版本: git tag 选择自己想要的版本号: git reset hard 3.2.0 然后进入build文件夹: cmake .. 如果出现: ICV: Failed ...
分类:
系统相关 时间:
2020-01-31 00:50:42
阅读次数:
78
难度 $medium hard$ 题意 "官方中文题意" 做法 很显然是可以通过计算常数个$sum(A,B)=\sum\limits_{i=0}^A \sum\limits_{j=0}^B score(i,j)$ 结论1 :$score(i,j)$为$i,j$数位拆分后排序的状态 暴力分类讨论或打表 ...
分类:
其他好文 时间:
2020-01-30 17:37:22
阅读次数:
63
1.完全备份 mssql_backup.sh #!/bin/bashcurrent_time=$(date "+%Y%m%d-%H%M%S")backup_dir='/cygdrive/d/backup/'backup_zip_dir='/cygdrive/d/backup/Archive/'bac ...
分类:
数据库 时间:
2020-01-30 12:33:29
阅读次数:
135
Define S = [s,n] as the string S which consists of n connected strings s. For example, ["abc", 3] ="abcabcabc". On the other hand, we define that stri ...
分类:
编程语言 时间:
2020-01-30 10:06:46
阅读次数:
88
难度 $hard$ 题意 "官方中文题意" 做法 设$G=(V,E)$ 定义1 :$M(G)$为$G$的最小点覆盖 定义2 :$ans(G)$为$G$的题意答案,不考虑船夫 结论1 :$M(G)\le ans(G)$ 第一次最少也得带走$M(G)$个 结论2 :$ans(G)\le M(G)+1$ ...
分类:
其他好文 时间:
2020-01-30 10:04:28
阅读次数:
75
通过以上两个方法查询到运行的system service后,就可以在dumpsys后面加上service的名字,查看指定的service信息。 // 查看Activity相关信息adb shell dumpsys activity// 查看CPU相关信息adb shell dumpsys cpuin ...
分类:
其他好文 时间:
2020-01-29 23:49:41
阅读次数:
68
投票法(voting)是集成学习里面针对分类问题的一种结合策略。基本思想是选择所有机器学习算法当中输出最多的那个类。 分类的机器学习算法输出有两种类型:一种是直接输出类标签,另外一种是输出类概率,使用前者进行投票叫做硬投票(Majority/Hard voting),使用后者进行分类叫做软投票(So ...
分类:
其他好文 时间:
2020-01-29 10:26:43
阅读次数:
232
题目描述 有 $n$ 堆石子,每堆石子是不超过 $m$ 的质数,求有多少种局面,使 $Nim$ 游戏中先手获胜 数据范围 $n \le 10^9,m \le 50000$ 题解 首先我们知道 $Nim$ 游戏中先手获胜的条件是 $n$ 堆石子异或值为 $0$ 于是我们就 $Fwt$ +快速幂求出第 ...
分类:
其他好文 时间:
2020-01-28 20:46:35
阅读次数:
49