![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
USACO
文章平均质量分 51
Acm_Jiang
这个作者很懒,什么都没留下…
展开
-
Greedy Gift Givers
Greedy Gift Givers A group of NP (2 ≤ NP ≤ 10) uniquely named friends hasdecided to exchange gifts of money. Each of these friends might ormight not give some money to any or all of the other frien原创 2013-07-20 09:37:09 · 445 阅读 · 0 评论 -
Friday the Thirteenth
Friday the Thirteenth Is Friday the 13th really an unusual event? That is, does the 13th of the month land on a Friday less often thanon any other day of the week? To answer this question, write a原创 2013-07-20 09:38:49 · 430 阅读 · 0 评论 -
Broken Necklace
Broken Necklace You have a necklace of N red, white, or blue beads (3 1 2 1 2 r b b r b r r b r原创 2013-07-20 11:18:02 · 407 阅读 · 0 评论 -
Your Ride Is Here
Your Ride Is Here It is a well-known fact that behind every good comet is a UFO. TheseUFOs often come to collect loyal supporters from here on Earth.Unfortunately, they only have room to pick up on原创 2013-07-20 09:33:19 · 436 阅读 · 0 评论 -
全排列
public static void main(String[] args) { // TODO Auto-generated method stub List list = quanpai("12345"); for (String string : list) { Syste转载 2013-07-24 17:59:00 · 376 阅读 · 0 评论 -
第二章讨论报告
USACO第一章节讨论报告 学校:烟台大学 主持:姜庆宇 日期:2013年8月15日星期四原创 2013-08-10 21:02:38 · 521 阅读 · 0 评论 -
烟台大学acm暑期集训总结
烟台大学acm暑期集训总结 从7月15号暑假开始,我们烟大的acm暑期集训也就算是正式开始了。我们学校的学习环境还是相当不错的,我们在里面可以安静的做题,以前我们集训都是一边上课一边做题,现在终于可以一整天的在实验室里做题。不过我感觉我一个暑假的训练还是比较失败的,可能因为从青岛回来感觉比赛已经差不多结束了,所以压力小了很多。做完一道题就休息一会,整体的环境也是很轻松的。一开始做题也还行,后来因原创 2013-08-25 13:12:50 · 1657 阅读 · 2 评论 -
背包九讲
背包九讲--各种背包问题 P01: 01背包问题 题目 有N件物品和一个容量为V的背包。第i件物品的费用是c[i],价值是w[i]。求解将哪些物品装入背包可使这些物品的费用总和不超过背包容量,且价值总和最大。 基本思路 这是最基础的背包问题,特点是:每种物品仅有一件,可以选择放或不放。 用子问题定义状态:即f[i][v]表示前i件物品恰放入一个容量为v的背包可转载 2013-09-12 20:04:14 · 444 阅读 · 0 评论