上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页
摘要: 题目描述: Yesterday, my teacher taught me about bit operators: and (&), or (|), xor (^). I generated a number table a[N], and wrote a program to calculate 阅读全文
posted @ 2021-04-03 22:26 cono奇犽哒 阅读(52) 评论(0) 推荐(0)
摘要: 传送门 题目描述: Conflicts are everywhere in the world, from the young to the elderly, from families to countries. Conflicts cause quarrels, fights or even w 阅读全文
posted @ 2021-04-03 17:44 cono奇犽哒 阅读(88) 评论(0) 推荐(0)
摘要: 传送门 题目描述: 小时候,乡愁是一枚小小的邮票,我在这头,母亲在那头。 —— 余光中集训是辛苦的,道路是坎坷的,休息还是必须的。经过一段时间的训练,lcy决定让大家回家放松一下,但是训练还是得照常进行,lcy想出了如下回家规定,每一个队(三人一队)或者队长留下或者其余两名队员同时留下;每一对队员, 阅读全文
posted @ 2021-04-03 15:53 cono奇犽哒 阅读(78) 评论(0) 推荐(0)
摘要: 传送门 题目描述: 有n对夫妻被邀请参加一个聚会,因为场地的问题,每对夫妻中只有1人可以列席。在2n 个人中,某些人之间有着很大的矛盾(当然夫妻之间是没有矛盾的),有矛盾的2个人是不会同时出现在聚会上的。有没有可能会有n 个人同时列席? 思路:2-sat模板题,夫妻不能同时出席宴会,而题目问是否能所 阅读全文
posted @ 2021-04-03 15:05 cono奇犽哒 阅读(112) 评论(0) 推荐(0)
摘要: 传送门 题目描述: Given a graph G(V, E), a clique is a sub-graph g(v, e), so that for all vertex pairs v1, v2 in v, there exists an edge (v1, v2) in e. Maximu 阅读全文
posted @ 2021-04-03 11:32 cono奇犽哒 阅读(47) 评论(0) 推荐(0)
摘要: 题目描述: Kids in kindergarten enjoy playing a game called Hawk-and-Chicken. But there always exists a big problem: every kid in this game want to play th 阅读全文
posted @ 2021-04-03 10:12 cono奇犽哒 阅读(77) 评论(0) 推荐(0)
摘要: 传送门 题目描述: In the Kingdom of Silence, the king has a new problem. There are N cities in the kingdom and there are M directional roads between the citie 阅读全文
posted @ 2021-04-03 09:40 cono奇犽哒 阅读(59) 评论(0) 推荐(0)
摘要: 传送门 题目描述: To prove two sets A and B are equivalent, we can first prove A is a subset of B, and then prove B is a subset of A, so finally we got that t 阅读全文
posted @ 2021-04-02 21:01 cono奇犽哒 阅读(107) 评论(0) 推荐(0)
摘要: 传送门 题意:给我们一个有向图,形成环的路线不需要收费,形成环的路线上的所有点不收费, 对于其余点,我们需找到一个生成树,花费最小 吐槽:这题把我人搞晕了,先是看题没看懂,没看到形成环的路线上的点不收费这条,然后就 使劲想也不可能做出来,看了题解还没一个正常的,全是抄一个人的,那个人还没注释,模板还 阅读全文
posted @ 2021-04-02 20:07 cono奇犽哒 阅读(40) 评论(0) 推荐(0)
摘要: 题目描述: 听说lcy帮大家预定了新马泰7日游,Wiskey真是高兴的夜不能寐啊,他想着得快点把这消息告诉大家,虽然他手上有所有人的联系方式,但是一个一个联系过去实在太耗时间和电话费了。他知道其他人也有一些别人的联系方式,这样他可以通知其他人,再让其他人帮忙通知一下别人。你能帮Wiskey计算出至少 阅读全文
posted @ 2021-04-02 18:23 cono奇犽哒 阅读(71) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页