上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: B. Drazil and His Happy Friendstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDrazil has many f... 阅读全文
posted @ 2015-03-20 21:09 unicoe 阅读(328) 评论(0) 推荐(0) 编辑
摘要: B. Tanya and Postcardtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Tanya decided to pre... 阅读全文
posted @ 2015-03-20 20:18 unicoe 阅读(280) 评论(0) 推荐(0) 编辑
摘要: B. A and B and Compilation Errorstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA and B are pre... 阅读全文
posted @ 2015-03-18 21:48 unicoe 阅读(228) 评论(0) 推荐(0) 编辑
摘要: Two Buttonstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has found a strange device. On ... 阅读全文
posted @ 2015-03-18 21:35 unicoe 阅读(388) 评论(0) 推荐(0) 编辑
摘要: Big Event in HDUProblem DescriptionNowadays, we all know that Computer College is the biggest department in HDU. But, maybe you don't know that Comput... 阅读全文
posted @ 2015-03-17 16:16 unicoe 阅读(140) 评论(0) 推荐(0) 编辑
摘要: I NEED A OFFER!Problem DescriptionSpeakless 很早就想出国,现在他已经考完了所有需要的考试,准备了所有要准备的材料,于是,便需要去申请学校了。要申请国外的任何大学,你都要交纳一定的申请费用, 这可是很惊人的。Speakless没有多少钱,总共只攒了n万美元。... 阅读全文
posted @ 2015-03-16 20:33 unicoe 阅读(464) 评论(0) 推荐(0) 编辑
摘要: B. Little Dima and Equation time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Little Dima m 阅读全文
posted @ 2015-03-15 22:01 unicoe 阅读(161) 评论(0) 推荐(0) 编辑
摘要: A. Appleman and Easy Task time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Toastman came u 阅读全文
posted @ 2015-03-15 21:23 unicoe 阅读(258) 评论(0) 推荐(0) 编辑
摘要: A. DZY Loves Chessboard time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output DZY loves chessbo 阅读全文
posted @ 2015-03-15 21:07 unicoe 阅读(17910) 评论(0) 推荐(0) 编辑
摘要: A. Vasya and Socks time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vasya has n pairs of s 阅读全文
posted @ 2015-03-15 20:35 unicoe 阅读(204) 评论(0) 推荐(0) 编辑
摘要: FATE Problem Description 最 近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在不停的杀怪做任务。久而久之xhd开始对杀怪产生的厌恶感,但又不得不通过杀怪来升完 这最后一级。现在的问题是,xhd升掉最后一级还需n的经验值,xhd还留有m的忍耐度,每杀一个怪xhd 阅读全文
posted @ 2015-03-15 12:17 unicoe 阅读(331) 评论(0) 推荐(0) 编辑
摘要: Problem Description Whuacmers use coins.They have coins of value A1,A2,A3...An Silverland dollar. One day Hibix opened purse and found there were some 阅读全文
posted @ 2015-03-14 16:10 unicoe 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Dividing Description Marsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal sha 阅读全文
posted @ 2015-03-14 15:12 unicoe 阅读(232) 评论(0) 推荐(0) 编辑
摘要: #include <cstdio> #include <cstring> #include <algorithm> #include <iostream> using namespace std; const int MAX_SIZE = 105; int val[MAX_SIZE]; int we 阅读全文
posted @ 2015-03-13 22:05 unicoe 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 经过一周的课设,课设终于接近尾声了,期间重写了3边,第一次是变量名太混乱,各种瞎胡搞,“ii kk”这些奇葩变量都用上了,这次是一个警钟吧,要记住。第二次重写是因为,参照学长博客,但用到了指针的东西,自己指针学的渣,怕给组员讲不懂,所以,有了这最后一个版本。自我感觉,最后一个版本写的还可以,不过还是 阅读全文
posted @ 2015-01-08 10:33 unicoe 阅读(633) 评论(0) 推荐(0) 编辑
摘要: http://www.notonlysuccess.com/(今天看二叉树,想回来看看,发现大牛博客进不去。。。) 如果要学,就要好好学。我copy的,如有错,请看http://www.cnblogs.com/Mu-Tou/archive/2011/08/11/2134427.html 【完全版】线 阅读全文
posted @ 2014-12-15 20:12 unicoe 阅读(4787) 评论(0) 推荐(1) 编辑
摘要: 就是求图中有多少个水洼。对图进行dfs遍历,并把是水洼的地方全部标记。然后从下一个是水哇的地方再进行dfs。 1 #include <cstdio> 2 #include <iostream> 3 #include <cstring> 4 using namespace std; 5 int gra 阅读全文
posted @ 2014-12-06 11:36 unicoe 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 题目求的是:所有蚂蚁用最短时间从木棍上走下来的最大值(也就是最后一个蚂蚁什么时候走下来的) 所有蚂蚁中,用时最长的情况 PS:根本不用考虑两只蚂蚁相遇又折返的情况(可以直接认为是他两互不影响的走) 1 #include <iostream> 2 3 using namespace std; 4 5 阅读全文
posted @ 2014-12-06 11:12 unicoe 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 刚开始看着道题时,感觉不用高精度好像就没法做,想了半天然后果断去看依然博客(这样确实不好),发现又用到了double(这个可以放“+” “-” 300多位的家伙!!!) #include <iostream> #include <cmath> using namespace std; int mai 阅读全文
posted @ 2014-11-20 09:31 unicoe 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 这道题目的意思是:给你一个序列,统计一开始的逆序数的个数,然后依次把第一个元素放到序列末尾,求每次的逆序数个数,求出每次求逆序数里,逆序数最小的那个数 这里需要推一个递推式,就是每次你把第一个元素放到末尾后,逆序数个数是怎么改变的 假如第一次求出的逆序数为 a,则下次逆序数个数为 a = a + n 阅读全文
posted @ 2014-11-17 21:09 unicoe 阅读(153) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 下一页