随笔分类 -  online judge Codeforces

摘要:C. Polycarpus' DiceTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/534/problem/CDescriptionPolycarp has n dice d1, d2, ..., dn.... 阅读全文
posted @ 2015-04-13 16:45 qscqesze 阅读(336) 评论(0) 推荐(0) 编辑
摘要:B. Covered PathTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/534/problem/BDescriptionThe on-board computer on Polycarp's car ... 阅读全文
posted @ 2015-04-13 16:36 qscqesze 阅读(319) 评论(0) 推荐(0) 编辑
摘要:A. ExamTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/534/problem/ADescriptionAn exam for n students will take place in a long... 阅读全文
posted @ 2015-04-13 16:23 qscqesze 阅读(360) 评论(0) 推荐(0) 编辑
摘要:A. Little Pony and Expected MaximumTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/453/problem/ADescriptionTwilight Sparkle was... 阅读全文
posted @ 2015-04-09 19:17 qscqesze 阅读(302) 评论(0) 推荐(0) 编辑
摘要:C. Om Nom and CandiesTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/526/problem/CDescriptionA sweet little monster Om Nom love... 阅读全文
posted @ 2015-04-05 03:43 qscqesze 阅读(747) 评论(3) 推荐(0) 编辑
摘要:B. Om Nom and Dark ParkTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/526/problem/BDescriptionOm Nom is the main character of ... 阅读全文
posted @ 2015-04-05 03:38 qscqesze 阅读(393) 评论(0) 推荐(0) 编辑
摘要:A. King of ThievesTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/526/problem/ADescriptionIn this problem you will meet the sim... 阅读全文
posted @ 2015-04-05 03:30 qscqesze 阅读(377) 评论(0) 推荐(1) 编辑
摘要:Codeforces Round #275 (Div. 1)A. Diverse PermutationTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/482/problem/ADescriptionPer... 阅读全文
posted @ 2015-04-01 22:58 qscqesze 阅读(259) 评论(0) 推荐(0) 编辑
摘要:A. PuzzlesTime Limit: 2 SecMemory Limit: 60 MB题目连接http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5373DescriptionThe end of the school year... 阅读全文
posted @ 2015-04-01 16:48 qscqesze 阅读(397) 评论(0) 推荐(0) 编辑
摘要: 给你n个数,k个魔法棒,s为所求的数,然后让你找有多少种方法,能够使的这n个数之和为s,其中一个魔法棒可以使的一个数变成他的阶乘。 阅读全文
posted @ 2015-03-27 15:00 qscqesze 阅读(847) 评论(0) 推荐(0) 编辑
摘要: 给你一个n*m的田地,有一些*的地方是可以移除变成"。"的,然后问你移除最少的"*",使的每一个"。"的联通块都是矩形 阅读全文
posted @ 2015-03-27 14:54 qscqesze 阅读(737) 评论(2) 推荐(0) 编辑
摘要: 给你一堆棍子,然后选择一些棍子来组成多个矩形,这些棍子有一个特点,长度为l的可以当成长度为l-1的用,问你最多能够成的矩形总面积是多少! 总面积是多少! 总面积是多少! 唔,因为很重要,所以说三遍,喵~ 阅读全文
posted @ 2015-03-27 14:47 qscqesze 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 给你一个字符串,然后给你一个数字i,然后i到s.size()-i直接的位置全部翻转,然后问你m次操作之后,是什么样子 阅读全文
posted @ 2015-03-27 14:40 qscqesze 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 给你一个字符串,奇数的时候是钥匙,偶数的时候是门,一把钥匙只能开对应的门,然后问你最少额外需要多少把钥匙! 阅读全文
posted @ 2015-03-27 14:35 qscqesze 阅读(668) 评论(0) 推荐(0) 编辑
摘要: 有n种纸币,选择其中的两类纸币,最多拿m张,问最少多少张能够组成规定的面额 不能的话,就输出-1 阅读全文
posted @ 2015-03-25 23:55 qscqesze 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 就是给你一个无向图,然后这些无向图的边,可以转化成一个有向图的边,问你怎么加最少的边,使得每一个点的出度都是偶数,输出边数和边集 阅读全文
posted @ 2015-03-25 22:41 qscqesze 阅读(428) 评论(0) 推荐(0) 编辑
摘要:B. Clique Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe clique problem is one of th... 阅读全文
posted @ 2015-03-23 20:30 qscqesze 阅读(407) 评论(0) 推荐(0) 编辑
摘要:A. Glass Carvingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLeonid wants to become a glass c... 阅读全文
posted @ 2015-03-18 13:48 qscqesze 阅读(333) 评论(0) 推荐(0) 编辑
摘要:给你一个森林,然后给你每个点周围有多少点,以及这个点和周围点编号的异或和,然后让你输出这些边 阅读全文
posted @ 2015-03-09 19:28 qscqesze 阅读(198) 评论(0) 推荐(0) 编辑
摘要:A. Sereja and Swapstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs usual, Sereja has array a, ... 阅读全文
posted @ 2015-03-04 19:46 qscqesze 阅读(236) 评论(0) 推荐(0) 编辑