qscqesze
Published on 2017-09-02 11:31 in 暂未分类 with qscqesze
上一页 1 2 3 4 5 6 7 8 9 10 ··· 53 下一页
摘要:Codeforces Beta Round 83 (Div. 1 Only) A. Dorm Water Supply 题意 给你一个n点m边的图,保证每个点的入度和出度最多为1 如果这个点入度为0,那么这个点就是水龙头点。 如果这个点的出度为0,那么这个点就是储存点。 现在让你把所有水龙头到储存点 阅读全文
posted @ 2016-12-05 23:20 qscqesze 阅读(288) 评论(0) 推荐(0) 编辑
摘要:Codeforces Round 177 (Div. 1) A. Polo the Penguin and Strings 题意 让你构造一个长度为n的串,且里面恰好包含k个不同字符,让你构造的字符串字典序最小。 题解 先abababab,然后再把k个不同字符输出,那么这样就是最少 代码 inclu 阅读全文
posted @ 2016-12-05 11:30 qscqesze 阅读(175) 评论(0) 推荐(0) 编辑
摘要:Codeforces Round 182 (Div. 1)题解 A题:Yaroslav and Sequence1 题意: 给你$2 n+1$个元素,你每次可以进行无数种操作,每次操作必须选择其中n个元素改变符号,你的目的是使得最后所有数的和尽量大,问你答案是多少 题解: 感觉上就是构造题,手动玩一 阅读全文
posted @ 2016-12-04 23:01 qscqesze 阅读(300) 评论(0) 推荐(0) 编辑
摘要:4726: [POI2017]Sabota? 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=4726 Description 某个公司有n个人, 上下级关系构成了一个有根树。其中有个人是叛徒(这个人不知道是谁)。对于一个人, 如果他 下属 阅读全文
posted @ 2016-11-27 20:29 qscqesze 阅读(309) 评论(0) 推荐(2) 编辑
摘要:B. Alyona and a tree 题目连接: http://codeforces.com/contest/739/problem/B Description Alyona has a tree with n vertices. The root of the tree is the vert 阅读全文
posted @ 2016-11-26 00:51 qscqesze 阅读(628) 评论(0) 推荐(0) 编辑
摘要:虽然这个队,以后再也没有了,但是他的模板,是永垂不朽的!【误 include __gnu_pbds::priority_queue Q; 优先队列,配对堆默认,从小到大! __gnu_pbds::priority_queue , pairing_heap_tag Q; __gnu_pbds::pri 阅读全文
posted @ 2016-11-26 00:12 qscqesze 阅读(620) 评论(0) 推荐(1) 编辑
摘要:C. Binary Table 题目连接: http://codeforces.com/problemset/problem/662/C Description You are given a table consisting of n rows and m columns. Each cell o 阅读全文
posted @ 2016-11-26 00:09 qscqesze 阅读(347) 评论(0) 推荐(1) 编辑
摘要:A. Alyona and mex 题目连接: http://codeforces.com/contest/739/problem/A Description Alyona's mother wants to present an array of n non negative integers t 阅读全文
posted @ 2016-11-24 19:34 qscqesze 阅读(508) 评论(0) 推荐(0) 编辑
摘要:2648: SJY摆棋子 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=2648 Description 这天,SJY显得无聊。在家自己玩。在一个棋盘上,有N个黑色棋子。他每次要么放到棋盘上一个黑色棋子,要么放上一个白色棋子,如果是白色棋 阅读全文
posted @ 2016-11-24 18:33 qscqesze 阅读(271) 评论(0) 推荐(1) 编辑
摘要:3732: Network 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=3732 Description 给你N个点的无向图 (1 using namespace std; const int N=200500; int n,m; st 阅读全文
posted @ 2016-11-23 23:15 qscqesze 阅读(266) 评论(0) 推荐(0) 编辑
摘要:Triangle 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5914 Description Mr. Frog has n sticks, whose lengths are 1,2, 3⋯n respectively. Wallice is a 阅读全文
posted @ 2016-11-23 19:03 qscqesze 阅读(305) 评论(0) 推荐(0) 编辑
摘要:GCD is Funny 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5902 Description Alex has invented a new game for fun. There are n integers at a board an 阅读全文
posted @ 2016-11-23 18:48 qscqesze 阅读(249) 评论(0) 推荐(0) 编辑
摘要:E. Anton and Tree 题目连接: http://codeforces.com/contest/734/problem/E Description Anton is growing a tree in his garden. In case you forgot, the tree is 阅读全文
posted @ 2016-11-16 14:43 qscqesze 阅读(485) 评论(1) 推荐(0) 编辑
摘要:D. Anton and Chess 题目连接: http://codeforces.com/contest/734/problem/D Description Anton likes to play chess. Also, he likes to do programming. That is 阅读全文
posted @ 2016-11-16 14:27 qscqesze 阅读(393) 评论(0) 推荐(0) 编辑
摘要:C. Anton and Making Potions 题目连接: http://codeforces.com/contest/734/problem/C Description Anton is playing a very interesting computer game, but now h 阅读全文
posted @ 2016-11-16 13:49 qscqesze 阅读(230) 评论(0) 推荐(0) 编辑
摘要:B. Anton and Digits 题目连接: http://codeforces.com/contest/734/problem/B Description Recently Anton found a box with digits in his room. There are k2 dig 阅读全文
posted @ 2016-11-16 13:15 qscqesze 阅读(301) 评论(0) 推荐(0) 编辑
摘要:A. Anton and Danik 题目连接: http://codeforces.com/contest/734/problem/A Description Anton likes to play chess, and so does his friend Danik. Once they ha 阅读全文
posted @ 2016-11-16 12:57 qscqesze 阅读(316) 评论(0) 推荐(0) 编辑
摘要:4337: BJOI2015 树的同构 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=4337 Description 树是一种很常见的数据结构。 我们把N个点,N 1条边的连通无向图称为树。 若将某个点作为根,从根开始遍历,则其它的点都 阅读全文
posted @ 2016-11-08 11:44 qscqesze 阅读(1474) 评论(1) 推荐(3) 编辑
摘要:4300: 绝世好题 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=4300 Description 给定一个长度为n的数列ai,求ai的子序列bi的最长长度,满足bi&bi 1!=0(2 using namespace std; con 阅读全文
posted @ 2016-11-08 11:08 qscqesze 阅读(864) 评论(0) 推荐(1) 编辑
摘要:C. Drazil and Park 题目连接: http://codeforces.com/contest/516/problem/C Description Drazil is a monkey. He lives in a circular park. There are n trees ar 阅读全文
posted @ 2016-11-07 20:50 qscqesze 阅读(287) 评论(0) 推荐(0) 编辑
摘要:B. Drazil and Tiles 题目连接: http://codeforces.com/contest/516/problem/B Description Drazil created a following problem about putting 1 × 2 tiles into an 阅读全文
posted @ 2016-11-07 19:49 qscqesze 阅读(322) 评论(0) 推荐(0) 编辑
摘要:A. Drazil and Factorial 题目连接: http://codeforces.com/contest/516/problem/A Description Drazil is playing a math game with Varda. Let's define for posit 阅读全文
posted @ 2016-11-07 19:21 qscqesze 阅读(147) 评论(0) 推荐(0) 编辑
摘要:2015 2016 Petrozavodsk Winter Training Camp, Nizhny Novgorod SU Contest B. Forcefield 题意 给你一维平面上n个镜子,镜子的朝向有正面和背面,如果光束从正面穿过,会摧毁镜子,并且光束会反向;如果从背面穿过的话,什么都 阅读全文
posted @ 2016-11-02 11:00 qscqesze 阅读(1170) 评论(0) 推荐(0) 编辑
摘要:沈阳赛区总结 沈阳赛区其实没什么好说的,先把锅接好:我读错E题,浪费一个小时;全场梦游;花了部分时间去做数学题,没有丝毫作用(虽然做其他题感觉也没有作用);中后期题目完全不懂。 比赛经验其实我感觉我已经比较充足了,节奏有时候都会刻意去把控,完全是实力问题。自己平时切太多傻逼题了,遇到中难题目,自己就 阅读全文
posted @ 2016-10-31 09:39 qscqesze 阅读(450) 评论(2) 推荐(0) 编辑
摘要:WorldFinal 11 Trash Removal 题意 给你一个多边形,问这个多边形至少需要多宽的长度,才能把这个多边形放进去。 数据范围100 题解 数据范围只有100,暴力枚举两点,然后算最小距离就好了 代码 include using namespace std; const int m 阅读全文
posted @ 2016-10-29 09:44 qscqesze 阅读(268) 评论(0) 推荐(0) 编辑
摘要:2016 2017 CT S03E06: Codeforces Trainings Season 3 Episode 6 比赛连接: http://codeforces.com/gym/101124/ 代码地址 http://git.oschina.net/qscqesze/Acm/tree/mas 阅读全文
posted @ 2016-10-16 22:25 qscqesze 阅读(451) 评论(0) 推荐(0) 编辑
摘要:Xtreme9.0 Communities 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/communities Description Social media networks and the 阅读全文
posted @ 2016-10-14 00:48 qscqesze 阅读(229) 评论(0) 推荐(1) 编辑
摘要:Block Art 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/block art Description The NeoCubist artistic movement has a very 阅读全文
posted @ 2016-10-14 00:28 qscqesze 阅读(306) 评论(0) 推荐(0) 编辑
摘要:Xtreme8.0 Kabloom 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/kabloom Description The card game Kabloom is played with 阅读全文
posted @ 2016-10-14 00:02 qscqesze 阅读(296) 评论(0) 推荐(0) 编辑
摘要:Xtreme8.0 Kabloom 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/kabloom Description The card game Kabloom is played with 阅读全文
posted @ 2016-10-13 23:50 qscqesze 阅读(301) 评论(0) 推荐(0) 编辑
摘要:Taco Stand 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/taco stand Description An editorial for this problem is availabl 阅读全文
posted @ 2016-10-13 23:19 qscqesze 阅读(368) 评论(0) 推荐(0) 编辑
摘要:Mr. Pippo's Pizza 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/mr pippos pizza Description Mr. Pippo wants to start a ne 阅读全文
posted @ 2016-10-13 23:00 qscqesze 阅读(337) 评论(0) 推荐(0) 编辑
摘要:Pattern 3 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/car spark Description Vangelis the bear received a digital signal 阅读全文
posted @ 2016-10-13 22:04 qscqesze 阅读(309) 评论(0) 推荐(0) 编辑
摘要:Car Spark 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/car spark Description John is a computer programmer and is highly 阅读全文
posted @ 2016-10-13 19:13 qscqesze 阅读(482) 评论(0) 推荐(0) 编辑
摘要:Sum it up 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/sum it up Description Minka is very smart kid who recently starte 阅读全文
posted @ 2016-10-12 23:34 qscqesze 阅读(136) 评论(0) 推荐(0) 编辑
摘要:Back to Square 1 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/back to square 1 Description The game “Back to Square 1” i 阅读全文
posted @ 2016-10-12 23:17 qscqesze 阅读(273) 评论(0) 推荐(0) 编辑
摘要:Play with GCD 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/play with gcd Description Minka is very smart kid who recentl 阅读全文
posted @ 2016-10-12 22:11 qscqesze 阅读(458) 评论(0) 推荐(0) 编辑
摘要:Xtreme9.0 Light Gremlins 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/light gremlins Description There are a group of gr 阅读全文
posted @ 2016-10-12 21:26 qscqesze 阅读(445) 评论(0) 推荐(0) 编辑
摘要:Xtreme8.0 Magic Square 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/magic square Description Johnny designed a magic squ 阅读全文
posted @ 2016-10-12 21:02 qscqesze 阅读(321) 评论(0) 推荐(0) 编辑
摘要:Dictionary Strings 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/dictionary strings Description Gopal is preparing for a 阅读全文
posted @ 2016-10-11 12:31 qscqesze 阅读(444) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 53 下一页