
CSUST_ACM_06
文章平均质量分 79
CSUST_ACM
这个作者很懒,什么都没留下…
展开
-
POJ 3125 Printer Queue(打印队列---模拟)
题目链接: http://poj.org/problem?id=3125 Printer QueueTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 3082 Accepted: 1655DescriptionThe on原创 2012-09-06 19:02:02 · 553 阅读 · 0 评论 -
hdu 1166 敌兵布阵 (解题报告)
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1166 敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18755 Accepted Submission(s): 816原创 2012-09-06 19:08:24 · 763 阅读 · 0 评论 -
poj 2406 Power Strings(字符问题)(解题报告)
http://poj.org/problem?id=2406Power StringsDescriptionGiven two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think原创 2012-09-06 19:14:34 · 495 阅读 · 0 评论 -
poj 2063 Investment(背包问题)(解题报告)
http://poj.org/problem?id=2063 InvestmentDescriptionJohn never knew he had a grand-uncle, until he received the notary's letter. He learned that his late grand-uncle had gathered a lot of money,原创 2012-09-06 19:21:00 · 719 阅读 · 0 评论 -
hdu 1527取石子游戏(威佐夫博奕)(解题报告)
http://acm.hdu.edu.cn/showproblem.php?pid=1527取石子游戏Problem Description有两堆石子,数量任意,可以不同。游戏开始由两个人轮流取石子。游戏规定,每次有两种不同的取法,一是可以在任意的一堆中取走任意多的石子;二是可以在两堆中同时取走相同数量的石子。最后把石子全部取完者为胜者。现在给出初始的两堆石子的数目,如果轮到你先取,假原创 2012-09-08 08:50:40 · 1268 阅读 · 0 评论 -
ZOJ 2965 Accurately Say "CocaCola"!
题目链接: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2965原题链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=29652012年9月15日组队赛Accurately Say "CocaCola"!Ti原创 2012-09-15 23:44:38 · 1794 阅读 · 0 评论 -
ZOJ 2969 Easy Task
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2969ZOJ Problem Set - 2969Easy TaskTime Limit: 2 Seconds Memory Limit: 65536 KB Calculating the derivation of a poly原创 2012-09-15 23:26:02 · 2275 阅读 · 0 评论 -
ZOJ 2971 Give Me the Number
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2971ZOJ Problem Set - 2971Give Me the NumberTime Limit: 2 Seconds Memory Limit: 65536 KB Numbers in English are writ原创 2012-09-15 23:50:22 · 1707 阅读 · 0 评论 -
ZOJ 2970 Faster, Higher, Stronger
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2970Faster, Higher, StrongerTime Limit: 2 Seconds Memory Limit: 65536 KB In the year 2008, the 29th Olympic Games will原创 2012-09-15 23:23:19 · 1907 阅读 · 0 评论 -
ZOJ 2966 Build The Electric System
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2966Build The Electric SystemTime Limit: 2 Seconds Memory Limit: 65536 KB In last winter, there was a big snow storm i原创 2012-09-15 23:48:26 · 2384 阅读 · 0 评论 -
poj1579 Function Run Fun
http://poj.org/problem?id=1579Function Run FunDescriptionWe all love recursion! Don't we?Consider a three-parameter recursive function w(a, b, c):if a 1if a > 20 or b > 20 or c > 2原创 2012-09-06 19:05:28 · 636 阅读 · 0 评论 -
poj1753Flip Game
链接:http://poj.org/problem?id=1753Flip GameDescriptionFlip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white an原创 2012-09-06 19:00:48 · 484 阅读 · 0 评论 -
POJ 1840 Eqs(简单hash入门)
题目链接:http://poj.org/problem?id=1840CSUST 2012年暑假8月组队后第十二次个人赛:http://acm.hust.edu.cn:8080/judge/contest/view.action?cid=11900#problem/BEqsTime Limit: 5000MS Memory Limit: 6553原创 2012-09-06 19:03:55 · 754 阅读 · 0 评论 -
URAL 1348(几何)(解题报告)
Goat in the Garden 2DescriptionA goat is tied to a peg (in a point C) in a garden with a strong rope of the length L (i.e. a goat may eat a grass that is not farther than Lmeters from the peg). Th原创 2012-09-06 19:25:57 · 505 阅读 · 0 评论 -
K次方(即求n^k的前三位与后三位)
K次方Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 31 Accepted Submission(s) : 15Font: Times New Roman | Verdana | GeorgiaFont S原创 2012-09-06 18:55:57 · 3097 阅读 · 0 评论 -
hdu1232畅通工程(并查集入门)
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1232畅通工程Problem Description某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政府“畅通工程”的目标是使全省任何两个城镇间都可以实现交通(但不一定有直接的道路相连,只要互相间接通过道路可达即可)。问最少还需要建设多少条道路?原创 2012-09-06 18:56:39 · 602 阅读 · 0 评论 -
FZU 1015 土地划分
原题链接:http://acm.fzu.edu.cn/problem.php?pid=1015来源:CSUST组织的多校联合组队赛第一场D题列强瓜分。2012年8月5日12:00到17:00 Problem 1015 土地划分Accept: 561 Submit: 1296Time Limit: 1000 mSec Memory Limit : 32原创 2012-09-06 18:59:02 · 1274 阅读 · 0 评论 -
大数相乘(简单模板)
根据大数相加,写出的简单的大数相乘的模板,有待改进中~~~~~~#include#includeconst int N = 100;int main(){ int i,j,k; int d1,d2; int a[N]={0},b[N]={0},sum[2*N]={0}; char c[N];// memset(c,'0',sizeof(c));// memset(a,0,原创 2012-09-06 19:06:32 · 542 阅读 · 0 评论 -
poj 1905Expanding Rods(二分法)(解题报告)
链接:http://poj.org/problem?id=1905Expanding RodsDescriptionWhen a thin rod of length L is heated n degrees, it expands to a new length L'=(1+n*C)*L, where C is the coefficient of heat expansion.原创 2012-09-06 19:09:52 · 511 阅读 · 0 评论 -
poj1469 COURSES(匈牙利算法)(解题报告)
链接:http://poj.org/problem?id=1469 COURSESDescriptionConsider a group of N students and P courses. Each student visits zero, one or more than one courses. Your task is to determine whether it i原创 2012-09-06 19:33:07 · 494 阅读 · 0 评论 -
poj 1142Smith Numbers(解题报告)
链接:http://poj.org/problem?id=1142 DescriptionWhile skimming his phone directory in 1982, Albert Wilansky, a mathematician of Lehigh University,noticed that the telephone number of his brother-原创 2012-09-06 19:30:05 · 707 阅读 · 0 评论 -
poj2635The Embarrassed Cryptographer(数论)(解题报告)
http://poj.org/problem?id=2635Language:The Embarrassed CryptographerTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 10080Accepted: 26原创 2012-09-17 18:05:10 · 1863 阅读 · 0 评论