上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 58 下一页
摘要: 无耻的复制大佬的代码 1001 怎么写模拟都过不去,只能用数学方式写了 合理的摆放就两种,一种平分,一种一个小的和两个大的放在一块 我们取最小值 1002 没啥好说的,注意等于0的情况 1003 如果做过HDU1222题估计会好很多,结论就是gcd(2*n-2,k)==1时,所有格子可以踩中 HDU 阅读全文
posted @ 2017-03-05 17:13 樱花落舞 阅读(819) 评论(3) 推荐(0)
摘要: 官方题解:http://www.cnblogs.com/qscqesze/p/6480284.html 哗啦啦村的刁难(1) 描述 哗啦啦村作为喵哈哈村的对头,于是他们准备给喵哈哈村一个好看。 哗啦啦村的头号长老——鱼先生,就提出了以下问题: 给你三个木棍,问你这三个木棍,是否能够组成一个非退化的三 阅读全文
posted @ 2017-03-01 23:43 樱花落舞 阅读(314) 评论(0) 推荐(0)
摘要: 官方题解: http://www.cnblogs.com/qscqesze/p/6418555.html#3623453 喵哈哈村的魔法石 描述 传说喵哈哈村有三种神奇的魔法石:第一种魔法石叫做人铁石,拥有A的能量;第二种魔法石叫做地冈石,拥有B的能量;而第三种,则是最神奇的天玄石,拥有无可比拟的C 阅读全文
posted @ 2017-03-01 23:01 樱花落舞 阅读(329) 评论(0) 推荐(0)
摘要: Description Little Nastya has a hobby, she likes to remove some letters from word, to obtain another word. But it turns out to be pretty hard for her, 阅读全文
posted @ 2017-02-26 23:41 樱花落舞 阅读(381) 评论(0) 推荐(0)
摘要: Description Igor found out discounts in a shop and decided to buy n items. Discounts at the store will last for a week and Igor knows about each item 阅读全文
posted @ 2017-02-26 23:34 樱花落舞 阅读(303) 评论(0) 推荐(0)
摘要: Description Polycarp is crazy about round numbers. He especially likes the numbers divisible by 10k. In the given number of n Polycarp wants to remove 阅读全文
posted @ 2017-02-26 23:23 樱花落舞 阅读(360) 评论(0) 推荐(0)
摘要: Description In Berland each high school student is characterized by academic performance — integer value between 1 and 5. In high school 0xFF there ar 阅读全文
posted @ 2017-02-26 23:14 樱花落舞 阅读(419) 评论(0) 推荐(1)
摘要: #include using namespace std; #define ll long long ll a[200000]; ll d[200000]; int main() { ll n; ll sum=0; cin>>n; for(int i=0;i>a[i]; sum+=a[i]; } for(int i=0;i #i... 阅读全文
posted @ 2017-02-25 16:48 樱花落舞 阅读(334) 评论(0) 推荐(0)
摘要: Misha and Vanya have played several table tennis sets. Each set consists of several serves, each serve is won by one of the players, he receives one p 阅读全文
posted @ 2017-02-14 20:20 樱花落舞 阅读(283) 评论(0) 推荐(0)
摘要: Description Kostya likes Codeforces contests very much. However, he is very disappointed that his solutions are frequently hacked. That's why he decid 阅读全文
posted @ 2017-02-14 20:15 樱花落舞 阅读(331) 评论(0) 推荐(0)
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 58 下一页