随笔分类 -  其他 构造

摘要:E. Interesting Graph and Apples 题目连接: http://www.codeforces.com/contest/9/problem/E Description Hexadecimal likes drawing. She has drawn many graphs a 阅读全文
posted @ 2016-04-20 22:36 qscqesze 阅读(474) 评论(0) 推荐(0)
摘要:Illegal spices 题目连接: http://acm.timus.ru/problem.aspx?space=1&num=1995 Description Jabba: Han, my boy, you disappoint me. Why haven’t you paid me? And 阅读全文
posted @ 2016-04-08 22:59 qscqesze 阅读(263) 评论(0) 推荐(0)
摘要:C. Bear and Forgotten Tree 3 题目连接: http://www.codeforces.com/contest/658/problem/C Description A tree is a connected undirected graph consisting of n 阅读全文
posted @ 2016-03-29 09:56 qscqesze 阅读(496) 评论(0) 推荐(0)
摘要:B. z sort 题目连接: http://www.codeforces.com/contest/652/problem/B Description A student of z school found a kind of sorting called z sort. The array a w 阅读全文
posted @ 2016-03-28 11:59 qscqesze 阅读(365) 评论(0) 推荐(0)
摘要:E. Intellectual Inquiry 题目连接: http://www.codeforces.com/contest/655/problem/E Description After getting kicked out of her reporting job for not knowin 阅读全文
posted @ 2016-03-21 20:43 qscqesze 阅读(234) 评论(0) 推荐(0)
摘要:旅游的Final柱 题目连接: http://acm.uestc.edu.cn/ /problem/show/1288 Description 柱神要去打Final啦~(≧▽≦)/~啦啦啦 柱神来到了异国他乡的普吉岛,柱神决定好好游览一番。 普吉岛的景点编号为11到NN,景点之间由双向的道路连接着, 阅读全文
posted @ 2016-03-18 12:00 qscqesze 阅读(368) 评论(0) 推荐(0)
摘要:暴兵的卿学姐 题目连接: http://acm.uestc.edu.cn/ /problem/show/1281 Description 沈宝宝又和卿学姐开始玩SC2了! 自从沈宝宝学会新的阵型后,就把卿学姐干的不要不要的,每次都把卿学姐按在地上摩擦。 卿学姐是我们的学姐啊,不能就这样认怂啊。 然后 阅读全文
posted @ 2016-03-11 11:54 qscqesze 阅读(1062) 评论(0) 推荐(1)
摘要:C. Necklace 题目连接: http://www.codeforces.com/contest/613/problem/C Description Ivan wants to make a necklace as a present to his beloved girl. A neckla 阅读全文
posted @ 2016-02-25 16:43 qscqesze 阅读(414) 评论(0) 推荐(1)
摘要:F. Double Knapsack 题目连接: http://www.codeforces.com/contest/618/problem/F Description You are given two multisets A and B. Each multiset has exactly n 阅读全文
posted @ 2016-02-24 15:32 qscqesze 阅读(383) 评论(0) 推荐(0)
摘要:Kids in a Friendly Class 题目连接: http://codeforces.com/gym/100269/attachments Description Kevin resembles his class in primary school. There were girls 阅读全文
posted @ 2016-02-18 23:16 qscqesze 阅读(387) 评论(0) 推荐(0)
摘要:D. Optimal Number Permutation 题目连接: http://www.codeforces.com/contest/622/problem/D Description You have array a that contains all integers from 1 to 阅读全文
posted @ 2016-02-12 14:57 qscqesze 阅读(301) 评论(2) 推荐(0)
摘要:C. K special Tables 题目连接: http://www.codeforces.com/contest/625/problem/C Description People do many crazy things to stand out in a crowd. Some of the 阅读全文
posted @ 2016-02-08 11:28 qscqesze 阅读(256) 评论(0) 推荐(0)
摘要:<center D. The table</center 题目连接:http://www.codeforces.com/contest/226/problem/D DescriptionHarry Potter has a difficult homework. Given a rectangu... 阅读全文
posted @ 2016-01-26 01:24 qscqesze 阅读(314) 评论(0) 推荐(0)
摘要:<center Around the world</center 题目连接:无 Description给你一个n n的矩阵,然后a[i][j]表示i,j是否有一条边然后让你构造一个序列,使得i到(i+1)%n这两个点之间最多经过k个边 Inputn<=500,k =3 Outputn个数 Sam... 阅读全文
posted @ 2016-01-25 21:48 qscqesze 阅读(373) 评论(0) 推荐(0)
摘要:<center Problem I. Instruction</center 题目连接:http://codeforces.com/gym/100531/attachments DescriptionIngrid is a head of a big railway station and, a... 阅读全文
posted @ 2016-01-18 18:54 qscqesze 阅读(343) 评论(0) 推荐(0)
摘要:<center B. Coach</center 题目连接:http://www.codeforces.com/contest/300/problem/A DescriptionA programming coach has n students to teach. We know that n... 阅读全文
posted @ 2016-01-10 15:54 qscqesze 阅读(427) 评论(0) 推荐(0)
摘要:<center A. Array</center 题目连接:http://www.codeforces.com/contest/300/problem/A DescriptionVitaly has an array of n distinct integers. Vitaly wants to... 阅读全文
posted @ 2016-01-10 15:26 qscqesze 阅读(423) 评论(0) 推荐(0)
摘要:<center C. Harmony Analysis</center 题目连接:http://www.codeforces.com/contest/610/problem/C DescriptionThe semester is already ending, so Danil made an... 阅读全文
posted @ 2015-12-28 11:06 qscqesze 阅读(401) 评论(0) 推荐(1)
摘要:<center Binary Tree</center 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=5573 DescriptionThe Old Frog King lives on the root of an infinite tree. ... 阅读全文
posted @ 2015-12-19 16:25 qscqesze 阅读(389) 评论(0) 推荐(0)
摘要:D. Lazy StudentTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/606/problem/DDescriptionStudent Vladislav came to his programmi... 阅读全文
posted @ 2015-12-10 16:37 qscqesze 阅读(495) 评论(0) 推荐(0)