题目大意:多重背包
一大早就水了个题233
#include
#include
#include
#include
#define M 20200
using namespace std;
int n,k,b[220],c[220];
int f[M];
int main()
{
int i,j,k;
cin>>n;
for(i=1;i<=n;i++)
scanf("%d",...
分类:
其他好文 时间:
2015-03-03 08:38:14
阅读次数:
142
Where‘sthenearbank?It‘sjustaroundthecorner.WhereisPeter?Whereisthedepartmentstore?Whereisthepostoffice?Whereisthenearestbank?Whereisthenearestpostoffice?Whereisthenearestdepartmentstore?It‘sjustaroundthecorner.Where‘stheschool,Please?Where‘sthepostoffice,Pl..
分类:
其他好文 时间:
2015-03-02 15:05:14
阅读次数:
163
Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the customers have to wait in line behind the yellow li...
分类:
其他好文 时间:
2015-03-02 09:38:56
阅读次数:
160
Suppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. The rules for the customers to wait in line are:
The spa...
分类:
其他好文 时间:
2015-02-25 21:11:01
阅读次数:
177
链接:click here~~
题意:
描述
LK has a question.Coule you help her?
It is the beginning of the day at a bank, and a crowd of clients is already waiting for the entrance door to open.
Once the ban...
分类:
编程语言 时间:
2015-02-24 13:52:25
阅读次数:
210
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1114题意分析:给出存钱罐存钱前后的重量,以及钱的种类及其价值和种类, 要求装满存钱罐最小的价值。 完全背包/*Piggy-BankTime Limit: 2000/1000 MS (Java/Other...
分类:
其他好文 时间:
2015-02-15 21:50:48
阅读次数:
183
Double Queue
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 11133
Accepted: 5056
Description
The new founded Balkan Investment Group Bank (BIG-Bank) ope...
分类:
其他好文 时间:
2015-02-12 09:22:41
阅读次数:
192
1.2440的BANK
2440一共提供给外部8个BANK(BANK0~BANK7),每个BANK均为128MB的地址空间,一共1GB地址空间。2440对外引出了27根地址线ADDR0~ADDR26,这27根地址线的访问地址大小为128MB,2440对外还引出了8根片选信号nGCS0~nGCS7,对应于BANK0~BANK7,当访问BANKx的地址空间时,nGCSx引脚输出低电平,27根...
分类:
其他好文 时间:
2015-02-11 10:54:22
阅读次数:
119
/**同步有两种方式:一、同步代码块;二、同步函数使用synchronized注意只要对需要同步的代码进行同步,多余的不用如何找问题: 1、明确哪些代码是多线程运行代码 2、明确共享数据 3、明确多线程运行代码中哪些语句是操作共享数据的。**/class Bank{ private int sum;...
分类:
编程语言 时间:
2015-02-10 15:09:27
阅读次数:
138