随笔分类 - 其他 构造
摘要:E. Interesting Graph and Apples 题目连接: http://www.codeforces.com/contest/9/problem/E Description Hexadecimal likes drawing. She has drawn many graphs a
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:E. Intellectual Inquiry 题目连接: http://www.codeforces.com/contest/655/problem/E Description After getting kicked out of her reporting job for not knowin
阅读全文
摘要:旅游的Final柱 题目连接: http://acm.uestc.edu.cn/ /problem/show/1288 Description 柱神要去打Final啦~(≧▽≦)/~啦啦啦 柱神来到了异国他乡的普吉岛,柱神决定好好游览一番。 普吉岛的景点编号为11到NN,景点之间由双向的道路连接着,
阅读全文
摘要:暴兵的卿学姐 题目连接: http://acm.uestc.edu.cn/ /problem/show/1281 Description 沈宝宝又和卿学姐开始玩SC2了! 自从沈宝宝学会新的阵型后,就把卿学姐干的不要不要的,每次都把卿学姐按在地上摩擦。 卿学姐是我们的学姐啊,不能就这样认怂啊。 然后
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:Kids in a Friendly Class 题目连接: http://codeforces.com/gym/100269/attachments Description Kevin resembles his class in primary school. There were girls
阅读全文
摘要:D. Optimal Number Permutation 题目连接: http://www.codeforces.com/contest/622/problem/D Description You have array a that contains all integers from 1 to
阅读全文
摘要: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
阅读全文
摘要:<center D. The table</center 题目连接:http://www.codeforces.com/contest/226/problem/D DescriptionHarry Potter has a difficult homework. Given a rectangu...
阅读全文
摘要:<center Around the world</center 题目连接:无 Description给你一个n n的矩阵,然后a[i][j]表示i,j是否有一条边然后让你构造一个序列,使得i到(i+1)%n这两个点之间最多经过k个边 Inputn<=500,k =3 Outputn个数 Sam...
阅读全文
摘要:<center Problem I. Instruction</center 题目连接:http://codeforces.com/gym/100531/attachments DescriptionIngrid is a head of a big railway station and, a...
阅读全文
摘要:<center B. Coach</center 题目连接:http://www.codeforces.com/contest/300/problem/A DescriptionA programming coach has n students to teach. We know that n...
阅读全文
摘要:<center A. Array</center 题目连接:http://www.codeforces.com/contest/300/problem/A DescriptionVitaly has an array of n distinct integers. Vitaly wants to...
阅读全文
摘要:<center C. Harmony Analysis</center 题目连接:http://www.codeforces.com/contest/610/problem/C DescriptionThe semester is already ending, so Danil made an...
阅读全文
摘要:<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. ...
阅读全文
摘要:D. Lazy StudentTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/606/problem/DDescriptionStudent Vladislav came to his programmi...
阅读全文

浙公网安备 33010602011771号