1 #ifndef __PRINT_H_ 2 #define __PRINT_H_ 3 4 void print(char* fmt, ...); 5 void printch(char ch); 6 void printdec(int dec); 7 void printflt(double fl ...
分类:
系统相关 时间:
2018-08-29 22:18:23
阅读次数:
251
最大匹配数:最大匹配的匹配边的数目最小点覆盖数:选取最少的点,使任意一条边至少有一个端点被选择最大独立数(最大团):选取最多的点,使任意所选两点均不相连最小路径覆盖数:对于一个 DAG(有向无环图),选取最少条路径,使得每个顶点属于且仅属于一条路径。路径长可以为 0(即单个点)。定理1:最大匹配数 ...
分类:
其他好文 时间:
2018-08-29 20:05:47
阅读次数:
175
study from: https://blog.csdn.net/winter2121/article/details/79849472 https://nanti.jisuanke.com/t/19979 另外:(copy from other) 最大匹配数:最大匹配的匹配边的数目最小点覆盖数: ...
分类:
其他好文 时间:
2018-08-29 20:03:46
阅读次数:
184
<choose> <when test=""> ... </when> <otherwise> ... </otherwise></choose> choose为一个整体,类似于switch; when相当于if,otherwise相当于else ...
分类:
其他好文 时间:
2018-08-28 17:54:58
阅读次数:
132
XOR-pyramid time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard output XOR-pyramid time limit per t ...
分类:
其他好文 时间:
2018-08-28 16:15:01
阅读次数:
182
谷歌迂回入华:Waymo无人车抢先进驻上海! https://mp.weixin.qq.com/s/d5Cw2uhykMJ9urb6Cs8aNw 谷歌又双叒叕要回归中国了?这已经是第不知道多少次的传言了,之前人民日报欢迎谷歌回归的相关内容似乎都被删干净了,互联网上的相关报导也被勒令下线。这么一番行动 ...
分类:
其他好文 时间:
2018-08-28 13:03:58
阅读次数:
140
本文摘自复旦大学出版社《中学英语语法(高中第二版)》,作者魏孟勋 another指三个以上不定数目的“另一个,类似的一个”。例如:I’m afraid the coat is too tight round my waist. Would you show me another?This route ...
分类:
其他好文 时间:
2018-08-27 22:01:06
阅读次数:
245
本文摘自复旦大学出版社《中学英语语法(高中第二版)》,作者魏孟勋 相互代词(Reciprocal Pronoun)表示动作或感觉在涉及的的多个对象之间相互存在。each other 一般指两者之间。one another 一般指三者之间。 At the end of the party, they ...
分类:
其他好文 时间:
2018-08-27 21:37:01
阅读次数:
132
"题目链接" 题意,求一棵树被所有直径经过的边的条数。 这题是我们8.25KS图论的最后一题,当时我果断打了暴力求所有直径然后树上差分统计的方法,好像有点小问题,boom0了。 考完改这题,改了好久,各种各样的小bug,至少有七八个。。。 思路:先随便找一条直径,然后从一个端点开始遍历这条直径,如果 ...
分类:
其他好文 时间:
2018-08-27 12:41:06
阅读次数:
136
题目描述 Consider n initial strings of lower case letters, where no initial string is a prefix of any other initial string. Now, consider choosing k of th ...
分类:
其他好文 时间:
2018-08-26 21:15:55
阅读次数:
200