摘要: 3101: N皇后 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=3101 Description n n的棋盘,在上面摆下n个皇后,使其两两间不能相互攻击…. Input 一个数n Output 第i行表示在第i行第几列放置皇后 Sam 阅读全文
posted @ 2016-08-22 15:34 qscqesze 阅读(631) 评论(0) 推荐(2) 编辑
摘要: 3245: 最快路线 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=3245 Description 精明的小R每每开车出行总是喜欢走最快路线,而不是最短路线.很明显,每条道路的限速是小R需要考虑的关键问题.不过有一些限速标志丢失了,于是 阅读全文
posted @ 2016-08-22 13:59 qscqesze 阅读(557) 评论(0) 推荐(0) 编辑
摘要: 3343: 教主的魔法 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=3343 Description 教主最近学会了一种神奇的魔法,能够使人长高。于是他准备演示给XMYZ信息组每个英雄看。于是N个英雄们又一次聚集在了一起,这次他们排成了 阅读全文
posted @ 2016-08-22 13:20 qscqesze 阅读(784) 评论(0) 推荐(2) 编辑
摘要: 3339: Rmq Problem 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=3339 Description n个数,m次询问l,r。查询区间mex是什么. Input Output Sample Input 7 5 0 2 1 0 阅读全文
posted @ 2016-08-22 11:16 qscqesze 阅读(583) 评论(0) 推荐(2) 编辑
摘要: 3400: [Usaco2009 Mar]Cow Frisbee Team 奶牛沙盘队 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=3400 Description 农夫顿因开始玩飞盘之后,约翰也打算让奶牛们享受飞盘的乐趣.他要组建一只 阅读全文
posted @ 2016-08-22 11:09 qscqesze 阅读(453) 评论(0) 推荐(0) 编辑
摘要: E. Dreamoon and Strings 题目连接: http://www.codeforces.com/contest/476/problem/E Description Dreamoon has a string s and a pattern string p. He first rem 阅读全文
posted @ 2016-08-22 10:40 qscqesze 阅读(294) 评论(0) 推荐(0) 编辑
摘要: D. Dreamoon and Sets 题目连接: http://www.codeforces.com/contest/476/problem/D Description Dreamoon likes to play with sets, integers and . is defined as 阅读全文
posted @ 2016-08-22 10:34 qscqesze 阅读(254) 评论(0) 推荐(0) 编辑
摘要: C. Dreamoon and Sums 题目连接: http://www.codeforces.com/contest/476/problem/C Description Dreamoon loves summing up something for no reason. One day he o 阅读全文
posted @ 2016-08-22 10:19 qscqesze 阅读(355) 评论(0) 推荐(0) 编辑