dog n. 狗 I love dogs. Dogs are man's best friends. The dog is very cute. cat n. 猫 I have a cat The cat is white The cat likes sleeping puppy n. 小狗 dog ...
分类:
其他好文 时间:
2018-05-23 00:02:45
阅读次数:
211
题意:n个物品,第i个物品的权值为ki,选出一些物品使它们的异或不小于m,求有多少种方案 数据范围:1 <= n <= 40,0 <= m <= 1e6 思路:其实就是换了一种要求的背包,MX要开得比1e6大一些,不滚动数组也能过去。 老套路设dp[i][j]为前i个物品异或为j时的方案,dp[i] ...
分类:
移动开发 时间:
2018-05-14 13:19:31
阅读次数:
231
题目链接 :http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5592 Japari Park is a large zoo home to extant species, endangered species, extinct s ...
分类:
其他好文 时间:
2018-05-07 13:42:04
阅读次数:
227
Being a programmer, you like arrays a lot. For your birthday, your friends have given you an array a consisting of n distinct integers. Unfortunately, ...
分类:
其他好文 时间:
2018-05-05 23:06:04
阅读次数:
202
There are some common phrases and sentences you can use when speaking on the telephone. The informal phrases are mostly for family and friends. The fo ...
分类:
其他好文 时间:
2018-05-04 10:34:03
阅读次数:
182
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 least. You have to ...
分类:
其他好文 时间:
2018-05-03 01:08:09
阅读次数:
234
题目链接:点这 我的github地址:点这 Problem Description Zero and One are good friends who always have fun with each other. This time, they decide to do something on ...
分类:
其他好文 时间:
2018-05-01 15:28:59
阅读次数:
225
Java AVL、BST编程作业代写、代做JDK实验1 IntroductionNeeding a way to manage all your PlayStation friends, you decide to build a backendsystem for adding, removing ...
分类:
编程语言 时间:
2018-04-30 23:32:37
阅读次数:
279
题目链接 Farm Tour Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 18961 Accepted: 7326 Description When FJ's friends visit him on the farm, he ...
分类:
其他好文 时间:
2018-04-29 23:56:32
阅读次数:
203
The New Year holidays are over, but Resha doesn't want to throw away the New Year tree. He invited his best friends Kerim and Gural to help him to red ...
分类:
其他好文 时间:
2018-04-29 11:37:26
阅读次数:
186