题目:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3960 题意:对01矩阵中第i行j个数 1表示第j个问题中的名字和c个已知名字取交集 0表示已知名字去除第j个问题中的名字 问对于矩阵中i行 是否存在q个问题中的名字和c ...
分类:
其他好文 时间:
2017-04-26 22:01:33
阅读次数:
142
地址:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3960 题目: Japari Park is a large zoo home to extant species, endangered species, extinc ...
分类:
其他好文 时间:
2017-04-25 23:33:52
阅读次数:
367
Japari Park is a large zoo home to extant species, endangered species, extinct species, cryptids and some legendary creatures. Due to a mysterious sub ...
分类:
其他好文 时间:
2017-04-23 18:05:40
阅读次数:
192
A.Little Red Riding Hood B.Choosy in Food ?F[i]:从第I个点到终点的期望步数 ?F[i] = (F[i + k] + k ) * P[k] ?F[ed] = 0 ?高斯消元求解 ?注意存在从起点不能到达终点的情况 C.Friends ?F[rt][len ...
分类:
其他好文 时间:
2017-04-23 17:55:58
阅读次数:
201
Japari Park is a large zoo home to extant species, endangered species, extinct species, cryptids and some legendary creatures. Due to a mysterious sub ...
分类:
其他好文 时间:
2017-04-23 01:06:43
阅读次数:
194
Kefa wants to celebrate his first big salary by going to restaurant. However, he needs company. Kefa has n friends, each friend will agree to go to th ...
分类:
其他好文 时间:
2017-04-22 01:15:44
阅读次数:
156
题目链接:http://acm.csu.edu.cn/csuoj/problemset/problem?pid=1552 Description On an alien planet, every extraterrestrial is born with a number. If the sum ...
分类:
其他好文 时间:
2017-04-21 20:31:27
阅读次数:
285
题意: 给你n个人m条关系 每条关系包括a,b 代表a和b能够是线上朋友也能够是线下朋友 然后保证每一个人的线上朋友数和线下朋友数相等 问你有多少种组成方法 思路: 官方题解是爆搜+剪枝,然而并不会写。。 比赛的时候想到用高斯消元来剪枝 最后枚举自由元 由于关系的话到了最后肯定有些关系是确定的。 这 ...
分类:
其他好文 时间:
2017-04-16 18:10:06
阅读次数:
139
转载声明本文地址 http://blog.csdn.net/yangnanhai93/article/details/40563285 题目链接:http://ac.jobdu.com/problem.php?pid=1421 这个题目是一个简单的概率题目,说一下思想就好了 由于对于每个人。他须要计 ...
分类:
其他好文 时间:
2017-04-15 14:38:39
阅读次数:
117
When the winter holiday comes, a lot of people will have a trip. Generally, there are a lot of souvenirs to sell, and sometimes the travelers will buy ...
分类:
其他好文 时间:
2017-04-12 22:57:07
阅读次数:
219