随笔分类 -  其他

摘要:F. Coffee Varieties time limit per test1 second memory limit per test256 megabytes This is the easy version of the problem. You can find the hard vers 阅读全文
posted @ 2020-02-03 19:47 qscqesze 阅读(587) 评论(0) 推荐(0) 编辑
摘要:D. Irreducible Anagrams time limit per test2 seconds memory limit per test256 megabytes Let's call two strings s and t anagrams of each other if it is 阅读全文
posted @ 2020-02-03 19:31 qscqesze 阅读(532) 评论(1) 推荐(0) 编辑
摘要:C. Mind Control time limit per test1 second memory limit per test256 megabytes You and your n−1 friends have found an array of integers a1,a2,…,an. Yo 阅读全文
posted @ 2020-02-03 19:23 qscqesze 阅读(573) 评论(4) 推荐(2) 编辑
摘要:A. Even But Not Even time limit per test1 second memory limit per test256 megabytes Let's define a number ebne (even but not even) if and only if its 阅读全文
posted @ 2020-02-03 19:08 qscqesze 阅读(516) 评论(0) 推荐(0) 编辑
摘要:C. Everyone is a Winner! On the well known testing system MathForces, a draw of n rating units is arranged. The rating will be distributed according t 阅读全文
posted @ 2019-11-30 11:30 qscqesze 阅读(732) 评论(0) 推荐(0) 编辑
摘要:B. PIN Codes A PIN code is a string that consists of exactly 4 digits. Examples of possible PIN codes: 7013, 0000 and 0990. Please note that the PIN c 阅读全文
posted @ 2019-11-30 11:26 qscqesze 阅读(562) 评论(0) 推荐(1) 编辑
摘要:A. Sweet Problem the first pile contains only red candies and there are r candies in it, the second pile contains only green candies and there are g c 阅读全文
posted @ 2019-11-30 11:23 qscqesze 阅读(500) 评论(0) 推荐(0) 编辑
摘要:C. Dominated Subarray Let's call an array 𝑡 dominated by value 𝑣 in the next situation. At first, array 𝑡 should have at least 2 elements. Now, let 阅读全文
posted @ 2019-11-14 18:01 qscqesze 阅读(473) 评论(0) 推荐(2) 编辑
摘要:B. Magic Stick Recently Petya walked in the forest and found a magic stick. Since Petya really likes numbers, the first thing he learned was spells fo 阅读全文
posted @ 2019-11-14 17:52 qscqesze 阅读(452) 评论(0) 推荐(0) 编辑
摘要:D. Magic Breeding link http://codeforces.com/contest/878/problem/D description Nikita and Sasha play a computer game where you have to breed some magi 阅读全文
posted @ 2017-10-31 21:21 qscqesze 阅读(912) 评论(0) 推荐(1) 编辑
摘要:传递 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5961 Description 我们称一个有向图G是传递的,当且仅当对任意三个不同的顶点a,,若G中有 一条边从a到b且有一条边从b到c ,则G中同样有一条边从a到c。 我们称图G是一个竞赛图,当 阅读全文
posted @ 2017-07-11 16:11 qscqesze 阅读(359) 评论(0) 推荐(0) 编辑
摘要:D. Artsem and Saunders 题目连接: http://codeforces.com/contest/765/problem/D Description Artsem has a friend Saunders from University of Chicago. Saunders 阅读全文
posted @ 2017-02-15 15:11 qscqesze 阅读(393) 评论(0) 推荐(2) 编辑
摘要:B Boxes 题目连接: http://agc010.contest.atcoder.jp/tasks/agc010_b Description There are N boxes arranged in a circle. The i th box contains Ai stones. Det 阅读全文
posted @ 2017-02-04 22:49 qscqesze 阅读(499) 评论(0) 推荐(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 阅读(738) 评论(0) 推荐(1) 编辑
摘要:D. Bear and Two Paths 题目连接: http://www.codeforces.com/contest/673/problem/D Description Bearland has n cities, numbered 1 through n. Cities are connec 阅读全文
posted @ 2016-05-08 08:48 qscqesze 阅读(220) 评论(0) 推荐(1) 编辑
摘要:A. DZY Loves Physics 题目连接: http://codeforces.com/contest/444/problem/A Description DZY loves Physics, and he enjoys calculating density. Almost everyt 阅读全文
posted @ 2016-05-07 16:36 qscqesze 阅读(224) 评论(0) 推荐(0) 编辑
摘要:String 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5672 Description There is a string S.S only contain lower case English character.(10≤length(S)≤ 阅读全文
posted @ 2016-04-24 15:45 qscqesze 阅读(351) 评论(0) 推荐(0) 编辑
摘要:F. Ace It! 题目连接: http://www.codeforces.com/contest/656/problem/F Description Input The only line of the input is a string of 7 characters. The first c 阅读全文
posted @ 2016-04-02 20:01 qscqesze 阅读(299) 评论(0) 推荐(0) 编辑
摘要:E. Out of Controls 题目连接: http://www.codeforces.com/contest/656/problem/E Description You are given a complete undirected graph. For each pair of verti 阅读全文
posted @ 2016-04-02 19:55 qscqesze 阅读(260) 评论(0) 推荐(0) 编辑
摘要:C. Without Text 题目连接: http://www.codeforces.com/contest/656/problem/C Description You can preview the image in better quality by the link: http://asse 阅读全文
posted @ 2016-04-02 19:22 qscqesze 阅读(278) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示