摘要:
A. Dreamoon and Stairs 题目连接: http://www.codeforces.com/contest/476/problem/A Description Dreamoon wants to climb up a stair of n steps. He can climb 1
阅读全文
posted @ 2016-08-21 21:13
qscqesze
阅读(347)
推荐(0)
摘要:
E. Garlands 题目连接: http://www.codeforces.com/contest/707/problem/E Description Like all children, Alesha loves New Year celebration. During the celebra
阅读全文
posted @ 2016-08-21 16:08
qscqesze
阅读(496)
推荐(0)
摘要:
D. Persistent Bookcase 题目连接: http://www.codeforces.com/contest/707/problem/D Description Recently in school Alina has learned what are the persistent
阅读全文
posted @ 2016-08-21 00:52
qscqesze
阅读(834)
推荐(3)
摘要:
C. Pythagorean Triples 题目连接: http://www.codeforces.com/contest/707/problem/C Description Katya studies in a fifth grade. Recently her class studied ri
阅读全文
posted @ 2016-08-21 00:48
qscqesze
阅读(760)
推荐(0)
摘要:
B. Bakery 题目连接: http://www.codeforces.com/contest/707/problem/B Description Masha wants to open her own bakery and bake muffins in one of the n cities
阅读全文
posted @ 2016-08-21 00:45
qscqesze
阅读(370)
推荐(0)
摘要:
A. Brain's Photos 题目连接: http://www.codeforces.com/contest/707/problem/A Description Small, but very brave, mouse Brain was not accepted to summer scho
阅读全文
posted @ 2016-08-21 00:32
qscqesze
阅读(263)
推荐(0)
摘要:
4636: 蒟蒻的数列 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=4636 Description 蒟蒻DCrusher不仅喜欢玩扑克,还喜欢研究数列 题目描述 DCrusher有一个数列,初始值均为0,他进行N次操作,每次将数列[a
阅读全文
posted @ 2016-08-18 22:16
qscqesze
阅读(677)
推荐(0)
摘要:
4610: [Wf2016]Ceiling Functi 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=4610 Description 给出n个长度为k的数列,每个数列模拟堆的操作,问有多少种形态不同的堆。 Input 第一行包含两个数
阅读全文
posted @ 2016-08-17 23:47
qscqesze
阅读(379)
推荐(0)
摘要:
E. A Simple Task 题目连接: http://www.codeforces.com/contest/558/problem/E Description This task is very simple. Given a string S of length n and q querie
阅读全文
posted @ 2016-08-17 23:22
qscqesze
阅读(603)
推荐(0)
摘要:
Problem L. Stock Trading Robot 题目连接: http://www.codeforces.com/gym/100253 Description CyberTrader is an all in one trading solution for investment ban
阅读全文
posted @ 2016-08-16 10:22
qscqesze
阅读(374)
推荐(0)
摘要:
Problem I. Plugs and Sockets 题目连接: http://www.codeforces.com/gym/100253 Description The Berland Regional Contest will be held in the main hall of the
阅读全文
posted @ 2016-08-16 10:19
qscqesze
阅读(527)
推荐(0)
摘要:
Problem H. Password Service 题目连接: http://www.codeforces.com/gym/100253 Description Startups are here, startups are there. Startups are everywhere! Pol
阅读全文
posted @ 2016-08-16 10:16
qscqesze
阅读(412)
推荐(0)
摘要:
Problem F. Judging Time Prediction 题目连接: http://www.codeforces.com/gym/100253 Description It is not easy to predict. Do you know that the modern weath
阅读全文
posted @ 2016-08-16 10:07
qscqesze
阅读(460)
推荐(0)
摘要:
Problem D. Grumpy Cat 题目连接: http://www.codeforces.com/gym/100253 Description This problem is a little bit unusual. Here you are to implement an intera
阅读全文
posted @ 2016-08-16 09:55
qscqesze
阅读(473)
推荐(0)
摘要:
Problem C. Equivalent Cards 题目连接: http://www.codeforces.com/gym/100253 Description Jane is playing a game with her friends. They have a deck of round
阅读全文
posted @ 2016-08-16 09:51
qscqesze
阅读(445)
推荐(0)
摘要:
Problem B. Travelling Camera Problem 题目连接: http://www.codeforces.com/gym/100253 Description Programming competitions become very popular in Berland. N
阅读全文
posted @ 2016-08-16 09:47
qscqesze
阅读(380)
推荐(0)
摘要:
Special Tetrahedron 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5839 Description Given n points which are in three dimensional space(without repet
阅读全文
posted @ 2016-08-14 23:21
qscqesze
阅读(626)
推荐(2)
摘要:
This world need more Zhu 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5840 Description As we all know, Zhu is the most powerful man. He has the inf
阅读全文
posted @ 2016-08-14 22:47
qscqesze
阅读(1816)
推荐(0)
摘要:
Rubik's Cube 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5836 Description As we all know, Zhu is the wisest man. When Liao was ninety nine years o
阅读全文
posted @ 2016-08-14 22:28
qscqesze
阅读(745)
推荐(1)
摘要:
Magic boy Bi Luo with his excited tree 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5834 Description Bi Luo is a magic boy, he also has a migic tre
阅读全文
posted @ 2016-08-14 22:09
qscqesze
阅读(1707)
推荐(2)
摘要:
Zhu and 772002 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5833 Description Zhu and 772002 are both good at math. One day, Zhu wants to test the a
阅读全文
posted @ 2016-08-14 21:55
qscqesze
阅读(680)
推荐(0)
摘要:
Danganronpa 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5835 Description Chisa Yukizome works as a teacher in the school. She prepares many gifts,
阅读全文
posted @ 2016-08-14 21:28
qscqesze
阅读(700)
推荐(0)
摘要:
Lweb and String 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5842 Description Lweb has a string S. Oneday, he decided to transform this string to a
阅读全文
posted @ 2016-08-14 21:07
qscqesze
阅读(345)
推荐(0)
摘要:
A water problem 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5832 Description Two planets named Haha and Xixi in the universe and they were created
阅读全文
posted @ 2016-08-14 21:01
qscqesze
阅读(269)
推荐(0)
摘要:
A. Letter 题目连接: http://www.codeforces.com/contest/14/problem/A Description A boy Bob likes to draw. Not long ago he bought a rectangular graph (checke
阅读全文
posted @ 2016-08-13 11:37
qscqesze
阅读(462)
推荐(0)
摘要:
Problem K. UTF 8 Decoder 题目连接: http://opentrains.snarknews.info/~ejudge/team.cgi?SID=c75360ed7f2c7022&all_runs=1&action=140 Description UTF 8 is a cha
阅读全文
posted @ 2016-08-13 01:59
qscqesze
阅读(345)
推荐(0)
摘要:
Problem I. Alien Rectangles 题目连接: http://opentrains.snarknews.info/~ejudge/team.cgi?SID=c75360ed7f2c7022&all_runs=1&action=140 Description The spacecr
阅读全文
posted @ 2016-08-13 01:53
qscqesze
阅读(237)
推荐(0)
摘要:
Problem H. Parallel Worlds 题目连接: http://opentrains.snarknews.info/~ejudge/team.cgi?SID=c75360ed7f2c7022&all_runs=1&action=140 Description Alex is a Ba
阅读全文
posted @ 2016-08-13 01:49
qscqesze
阅读(248)
推荐(0)
摘要:
Problem F. Turning Grille 题目连接: http://opentrains.snarknews.info/~ejudge/team.cgi?SID=c75360ed7f2c7022&all_runs=1&action=140 Description ‘Turning gril
阅读全文
posted @ 2016-08-13 01:22
qscqesze
阅读(287)
推荐(0)
摘要:
Problem C. Cargo Transportation 题目连接: http://opentrains.snarknews.info/~ejudge/team.cgi?SID=c75360ed7f2c7022&all_runs=1&action=140 Description The shi
阅读全文
posted @ 2016-08-13 01:17
qscqesze
阅读(203)
推荐(0)
摘要:
Problem G. k palindrome 题目连接: http://opentrains.snarknews.info/~ejudge/team.cgi?SID=c75360ed7f2c7022&all_runs=1&action=140 Description We will say tha
阅读全文
posted @ 2016-08-13 01:10
qscqesze
阅读(244)
推荐(1)
摘要:
Problem A. A + B 题目连接: http://opentrains.snarknews.info/~ejudge/team.cgi?SID=c75360ed7f2c7022&all_runs=1&action=140 Description Kastus recently got to
阅读全文
posted @ 2016-08-13 01:02
qscqesze
阅读(210)
推荐(0)
摘要:
Rikka with Sequence 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5828 Description As we know, Rikka is poor at math. Yuta is worrying about this si
阅读全文
posted @ 2016-08-11 23:18
qscqesze
阅读(691)
推荐(0)
摘要:
Ball 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5821 Description ZZX has a sequence of boxes numbered 1,2,...,n. Each box can contain at most one
阅读全文
posted @ 2016-08-11 23:02
qscqesze
阅读(345)
推荐(0)
摘要:
physics 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5826 Description There are n balls on a smooth horizontal straight track. The track can be con
阅读全文
posted @ 2016-08-11 22:56
qscqesze
阅读(331)
推荐(0)
摘要:
Rikka with Parenthesis II 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5831 Description As we know, Rikka is poor at math. Yuta is worrying about t
阅读全文
posted @ 2016-08-11 22:51
qscqesze
阅读(415)
推荐(0)
摘要:
//233 模板 LCA void dfs(int x,int f){ for(int i=0;i=0;i ) { if(ddeep[y])swap(x,y); y=up(y,deep[y] deep[x]); if(x==y)return x; for(int i=maxm 1;i =0;i )
阅读全文
posted @ 2016-08-10 09:41
qscqesze
阅读(429)
推荐(0)
摘要:
Elegant Construction 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5813 Description Being an ACMer requires knowledge in many fields, because proble
阅读全文
posted @ 2016-08-09 18:47
qscqesze
阅读(331)
推荐(1)
摘要:
Balls and Boxes 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5810 Description Mr. Chopsticks is interested in random phenomena, and he conducts an
阅读全文
posted @ 2016-08-09 18:31
qscqesze
阅读(395)
推荐(0)
摘要:
Problem K. KMC Attacks 题目连接: http://codeforces.com/gym/100714 Description Warrant VI is a remote planet located in the Koprulu Sector. Warrant VI feat
阅读全文
posted @ 2016-08-09 11:01
qscqesze
阅读(391)
推荐(0)