摘要: 题目链接:hdu_5742_It's All In The Mind 题意: 有一个部分的数列,让你找一个满足他给的三个条件的数列,使前两个数的和除这个数列的sum最大 题解: xjb贪心一下就行了。 1 #include<cstdio> 2 #include<cmath> 3 #define F( 阅读全文
posted @ 2016-07-22 17:15 bin_gege 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 题目连接:hdu_5734_Acperience 多校的题我还是贴官方题解的好,方便快捷,省事!! 1 #include<cstdio> 2 #include<cmath> 3 #define F(i,a,b) for(int i=a;i<=b;i++) 4 typedef long long ll 阅读全文
posted @ 2016-07-22 16:13 bin_gege 阅读(112) 评论(0) 推荐(0) 编辑