上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 94 下一页

2012年5月10日

HDU 1059 Dividing(多重背包)

摘要: DividingTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7678Accepted Submission(s): 2095Problem DescriptionMarsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share of the ma 阅读全文

posted @ 2012-05-10 01:08 kuangbin 阅读(2815) 评论(0) 推荐(0) 编辑

2012年5月8日

POJ 2769 Reduced ID Numbers

摘要: Reduced ID NumbersTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 7494Accepted: 3029DescriptionT. Chur teaches various groups of students at university U. Every U-student has a unique Student Identification Number (SIN). A SIN s is an integer in the range 0 ≤ s ≤ MaxSIN with MaxSIN = 106-1. 阅读全文

posted @ 2012-05-08 21:49 kuangbin 阅读(992) 评论(0) 推荐(0) 编辑

SHUOJ 241 Franklin's Trouble(简单数学题)

摘要: http://acmoj.shu.edu.cn/openjudge/viewproblem?coll_id=1&prob_id=241Franklin's TroubleDescriptionProfessor Franklin is consulting for an oil company, which is planning a large pipeline running east to west through an oil field of M wells. From each well, a sub-pipeline is to be connected dire 阅读全文

posted @ 2012-05-08 19:32 kuangbin 阅读(798) 评论(0) 推荐(0) 编辑

2012年4月22日

POH 4180 RealPhobia(连分数)

摘要: RealPhobiaTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 69Accepted Submission(s): 27Problem DescriptionBert is a programmer with a real fear of floating point arithmetic. Bert has quite successfully used rational numbers to write his programs but 阅读全文

posted @ 2012-04-22 21:05 kuangbin 阅读(626) 评论(0) 推荐(0) 编辑

POJ 2142 The Balance(扩展欧几里德解方程)

摘要: The BalanceTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 2490Accepted: 1091DescriptionMs. Iyo Kiffa-Australis has a balance and only two kinds of weights to measure a dose of medicine. For example, to measure 200mg of aspirin using 300mg weights and 700mg weights, she can put one 700mg we 阅读全文

posted @ 2012-04-22 20:49 kuangbin 阅读(692) 评论(0) 推荐(0) 编辑

HDU 4178 Roll-call in Woop Woop High(字符串处理题)

摘要: #include<stdio.h>#include<string.h>#include<iostream>using namespace std;char str[1000];char name[100];char ans1[100],ans2[100],ans3[100],ans4[100],ans5[100];int main(){ // freopen("test.in","r",stdin); // freopen("test.out","w",stdout); int 阅读全文

posted @ 2012-04-22 18:43 kuangbin 阅读(560) 评论(0) 推荐(0) 编辑

HDU 4185 Oil Skimming(二分匹配,匈牙利算法)

摘要: Oil SkimmingTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 87Accepted Submission(s): 50Problem DescriptionThanks to a certain "green" resources company, there is a new profitable industry of oil skimming. There are large slicks of crude 阅读全文

posted @ 2012-04-22 18:41 kuangbin 阅读(1246) 评论(0) 推荐(0) 编辑

2012年4月17日

HDU 2079 选课时间(题目已修改,注意读题)(简单的母函数运用)

摘要: 选课时间(题目已修改,注意读题)Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1516Accepted Submission(s): 1253Problem Description又到了选课的时间了,xhd看着选课表发呆,为了想让下一学期好过点,他想知道学n个学分共有多少组合。你来帮帮他吧。(xhd认为一样学分的课没区别)Input输入数据的第一行是一个数据T,表示有T组数据。每组数据的第一行是两个整数n(1 <= n <= 40 阅读全文

posted @ 2012-04-17 22:37 kuangbin 阅读(540) 评论(0) 推荐(0) 编辑

2012年4月16日

HDU 1028 Ignatius and the Princess III (母函数,或者DP)

摘要: Ignatius and the Princess IIITime Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 2Accepted Submission(s) : 2Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem Description"Well, it seems the first problem is too easy. I will let you know 阅读全文

posted @ 2012-04-16 23:48 kuangbin 阅读(5162) 评论(1) 推荐(0) 编辑

2012年4月13日

HDU 4034 Graph

摘要: GraphTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 962Accepted Submission(s): 510Problem DescriptionEveryone knows how to calculate the shortest path in a directed graph. In fact, the opposite problem is also easy. Given the length of shortest pa 阅读全文

posted @ 2012-04-13 21:34 kuangbin 阅读(349) 评论(0) 推荐(0) 编辑

上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 94 下一页

导航

JAVASCRIPT: