- 博客(8)
- 资源 (23)
- 收藏
- 关注
原创 Codeforces Round #327 (Div. 2) (591A,591B,590A(找规律),590B(二分))
Wizards' Duel题目链接:http://codeforces.com/problemset/problem/591/A解题思路:Let's start with determining the position of the first collision. Two impulses converge with a speed p + q, so the fi
2015-10-30 21:35:13 505
原创 Codeforces Round #259(454A,454B,453A(排列组合))
1.Little Pony and Crystal Mine题目链接:http://codeforces.com/problemset/problem/454/A解题思路:Brief description:Draw the grid graph as the problem said.Analysis:Just a few basi
2015-10-20 19:23:41 523
原创 Codeforces Round #324 (Div. 2) (584A,584B(排列组合),584C(构造),584D(哥德巴赫猜想),584E(置换群))
1.Olesya and Rodion题目链接:http://codeforces.com/problemset/problem/584/A解题思路:Two cases: t = 10 and t ≠ 10.If t = 10 then there are two cases again :). If n = 1 then answer is
2015-10-17 17:28:02 810
原创 Codeforces Round #325 (Div. 2) (586A,586B,585A,585B)
1.Alena's Schedule题目链接:http://codeforces.com/problemset/problem/586/A解题思路:To solve this problem one should remove all leading and trailing zeroes from array and then calculate the nu
2015-10-17 14:49:47 832
原创 Codeforces Round #326 (Div. 2) (588A,588B,587A)
1.Duff and Meat题目链接:http://codeforces.com/problemset/problem/588/A解题思路:Idea is a simple greedy, buy needed meat for i - th day when it's cheapest among days 1, 2, ..., n.So, th
2015-10-17 11:07:22 949
原创 OJ的搭建
哎,想当年,耀哥在的时候,我们学校在青岛这边还是很好地,可是从那以后,一代不如一代呀,周边的学校渐渐都起来了,我们学校至今还没有自己的OJ,于是厚着脸皮,各处求助,终于搭好了现在这样的OJ。感谢山建的聚聚(http://blog.csdn.net/hy1405430407/article/details/48626771)热心的帮助,才得以搭出来,真是万分感谢呀!接下来,我将重新搭一遍,来帮助像我
2015-10-05 15:01:52 15741 1
原创 BestCoder Round #58 (div.2)(hdu 5494,hdu5495,hdu5496)
1.Card Game题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5494解题思路:由于都是随机出牌, Soda要必胜显然是他的最小的mm张牌的和要大于Beta最大的mm张牌的和.AC代码:#include #include #include using namespace std;int a[505],b
2015-10-04 19:50:57 461
原创 Codeforces Round #323 (Div. 2) (583A,583B,582A,582B)
1.Asphalting Roads题目链接:http://codeforces.com/problemset/problem/583/A解题思路:To solve the problem one could just store two arrays hused[j] and vused[j] sized n and filled with false initial
2015-10-04 17:19:58 1071
程序员面试宝典 第5版
2018-09-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人