不要过于沉溺过去,也不要过于畅想未来,把握现在!

摘要: /*H - A+BTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 3787Description给定两个整数A和B,其表示形式是:从个位开始,... 阅读全文
posted @ 2014-07-11 11:05 coding_yuan 阅读(141) 评论(0) 推荐(0) 编辑
摘要: /*D - NineteenTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 393ADescriptionAlice like... 阅读全文
posted @ 2014-07-10 23:21 coding_yuan 阅读(203) 评论(0) 推荐(0) 编辑
摘要: /*C - George and SleepTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 387ADescriptionGe... 阅读全文
posted @ 2014-07-10 23:19 coding_yuan 阅读(409) 评论(0) 推荐(0) 编辑
摘要: /*B - Fly, freebies, fly!Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 386BDescriptio... 阅读全文
posted @ 2014-07-10 23:18 coding_yuan 阅读(158) 评论(0) 推荐(0) 编辑
摘要: /*A - Om Nom and SpidersTime Limit:3000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 436BDescription... 阅读全文
posted @ 2014-07-10 23:16 coding_yuan 阅读(109) 评论(0) 推荐(0) 编辑
摘要: /*K - 小Q系列故事――电梯里的爱情Time Limit:100MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescription 细心的同事发现,小Q最近喜欢乘电梯上上下下,究其原因,也许只... 阅读全文
posted @ 2014-07-10 23:05 coding_yuan 阅读(159) 评论(0) 推荐(0) 编辑
摘要: /*J - Saving HDUTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 2111Description话说上回讲到海东集团面临内外交困,公司... 阅读全文
posted @ 2014-07-10 23:02 coding_yuan 阅读(199) 评论(0) 推荐(0) 编辑
摘要: /*G - 寻找大富翁Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescription浙江桐乡乌镇共有n个人,请找出该镇上的前m个大富翁.Input输入包含多组测试用... 阅读全文
posted @ 2014-07-10 23:00 coding_yuan 阅读(120) 评论(0) 推荐(0) 编辑
摘要: /*A - THE DRUNK JAILERTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 1218DescriptionA certain pri... 阅读全文
posted @ 2014-07-10 22:56 coding_yuan 阅读(143) 评论(0) 推荐(0) 编辑
摘要: /*B - Cow MultiplicationTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 3673DescriptionBessie is t... 阅读全文
posted @ 2014-07-10 22:55 coding_yuan 阅读(142) 评论(0) 推荐(0) 编辑
摘要: /*D - Election TimeTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe cows are having their first ... 阅读全文
posted @ 2014-07-10 22:51 coding_yuan 阅读(145) 评论(0) 推荐(0) 编辑
摘要: /*Cash MachineTime Limit: 1000MS Memory Limit: 10000K Total Submissions: 26604 Accepted: 9397 DescriptionA Bank plans to install a machine for cash ... 阅读全文
posted @ 2014-07-02 01:45 coding_yuan 阅读(122) 评论(0) 推荐(0) 编辑
摘要: #include#include#define INITITY 999//最大值#define VERTEX 20//最多顶点个数#define FALSE 0#define TURE 1#define size 30#define OVERFLOW -1typedef struct ArcCell... 阅读全文
posted @ 2014-06-29 23:19 coding_yuan 阅读(151) 评论(0) 推荐(0) 编辑
摘要: #include#include#includetypedef struct{ char a;//记录对应字符 int weight;//权值 int parent,lchild,rchild;}HTNode,*HuffmanTree;typedef char * *Huff... 阅读全文
posted @ 2014-06-29 23:17 coding_yuan 阅读(171) 评论(0) 推荐(0) 编辑
摘要: /*描述有一个投资人,他有金钱m,可选投资项目n个。对于每个投资项目,投入金钱c则获得收益f。要求对每个项目所投入的资金r应该在0到c之间(即0#include#include#includeusing namespace std;int N;int M;double p[100];int m[10... 阅读全文
posted @ 2014-06-25 23:28 coding_yuan 阅读(221) 评论(0) 推荐(0) 编辑

不要过于沉溺过去,也不要过于畅想未来,把握现在!