传送门 Description TT and FF are ... friends. Uh... very very good friends -________-bFF is a bad boy, he is always wooing TT to play the following game ...
分类:
其他好文 时间:
2016-09-28 01:33:41
阅读次数:
165
传送门 Description Today is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he needs at lea ...
分类:
其他好文 时间:
2016-09-28 01:24:07
阅读次数:
200
D. Friends and Subsequences 题目链接: http://codeforces.com/problemset/problem/689/D 代码: ...
分类:
其他好文 时间:
2016-09-27 13:28:40
阅读次数:
127
题目链接 http://codeforces.com/problemset/problem/689/D 代码 ...
分类:
其他好文 时间:
2016-09-26 21:44:46
阅读次数:
199
All the treasures of the earth would not bring back one lost moment. 机会失去不再来,千贯万贯难赎回。 Cherish your human connections, your relationships with friends ...
分类:
其他好文 时间:
2016-09-16 12:51:52
阅读次数:
120
题目链接:http://codeforces.com/problemset/problem/714/A 题意: 一个猫头鹰可以在时间段 l1 到 r1 处于清醒状态, 且需要在 k 时为自己化妆,在 l2 到 r2 时间段去访问自己的朋友, 问它能和自己的朋友在一起待多久时间. 思路: 设呆在一起的 ...
分类:
其他好文 时间:
2016-09-15 09:48:45
阅读次数:
175
题意:有最多40个数字,取任意个数字他们的异或和>=k则是可行的方案,问有多少种可行的方案。 分析:dp[now][j]表示当前这个值的种类数,那么转移方程为dp[now][j] = dp[pre][j] + dp[pre][j^a[i]]。因为a^b=c的话,c^b=a,所以j^a[i]就可以得到 ...
分类:
移动开发 时间:
2016-09-15 09:47:17
阅读次数:
143
Friends and Enemies Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 291 Accepted Submission(s): 1 ...
分类:
其他好文 时间:
2016-09-11 17:06:28
阅读次数:
171
Friends and Enemies Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 171 Accepted Submission(s): 1 ...
分类:
其他好文 时间:
2016-09-11 10:21:39
阅读次数:
200