摘要:
转自首先定义mex(minimal excludant)运算,这是施加于一个集合的运算,表示最小的不属于这个集合的非负整数。例如mex{0,1,2,4}=3、mex{2,3,5}=0、mex{}=0。对于一个给定的有向无环图,定义关于图的每个顶点的Sprague-Gr... 阅读全文
posted @ 2018-06-06 15:24
lived
阅读(153)
评论(0)
推荐(0)
摘要:
转自六种实现了加减乘除和求余1、大数加法string add(string a,string b){ string c; int len1=a.length(); int len2=b.length(); int len=max(len1,le... 阅读全文
posted @ 2018-06-06 15:08
lived
阅读(408)
评论(0)
推荐(0)

浙公网安备 33010602011771号