随笔分类 -  基础:模拟

摘要:A. Nearest Minimums time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given an arr 阅读全文
posted @ 2018-01-01 19:43 冥想选手 阅读(450) 评论(0) 推荐(1) 编辑
摘要:H. Hit! time limit per test 1.0 s memory limit per test 256 MB input standard input output standard output "Hit!" is a popular game in ancient Bytelan 阅读全文
posted @ 2017-12-07 19:46 冥想选手 阅读(364) 评论(0) 推荐(0) 编辑
摘要:A Curious Matt Time Limit: 2000/2000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others)Total Submission(s): 3058 Accepted Submission(s): 171 阅读全文
posted @ 2017-11-25 12:52 冥想选手 阅读(237) 评论(0) 推荐(0) 编辑
摘要:A. Petya and Catacombs time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A very brave explo 阅读全文
posted @ 2017-11-21 23:30 冥想选手 阅读(239) 评论(0) 推荐(0) 编辑
摘要:时间限制:1000ms 单点时限:1000ms 内存限制:256MB 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 The Yongzheng Emperor (13 December 1678 – 8 October 1735), was the fifth empe 阅读全文
posted @ 2017-11-20 20:19 冥想选手 阅读(769) 评论(0) 推荐(0) 编辑
摘要:时间限制:1000ms 单点时限:1000ms 内存限制:256MB 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 There are many homeless cats in PKU campus. They are all happy because the st 阅读全文
posted @ 2017-11-20 01:06 冥想选手 阅读(949) 评论(0) 推荐(0) 编辑
摘要:A. Search for Pretty Integers time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are giv 阅读全文
posted @ 2017-10-16 17:02 冥想选手 阅读(301) 评论(0) 推荐(0) 编辑
摘要:A. Fair Game 题目链接:http://codeforces.com/contest/864/problem/A 水题 B. Polycarp and Letters 题目链接:http://codeforces.com/contest/864/problem/B 水题,写太急了,忘了考虑 阅读全文
posted @ 2017-09-25 20:46 冥想选手 阅读(141) 评论(0) 推荐(0) 编辑
摘要:A. Kirill And The Game time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Kirill plays a ne 阅读全文
posted @ 2017-09-04 19:06 冥想选手 阅读(190) 评论(0) 推荐(1) 编辑
摘要:B. Tell Your World time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Tell Your World tim 阅读全文
posted @ 2017-09-01 23:24 冥想选手 阅读(176) 评论(0) 推荐(0) 编辑
摘要:In a modernized warehouse, robots are used to fetch the goods. Careful planning is needed to ensure that the robots reach their destinations without c 阅读全文
posted @ 2017-08-19 15:34 冥想选手 阅读(761) 评论(0) 推荐(0) 编辑
摘要:Let S = s1 s2...s2n be a well-formed string of parentheses. S can be encoded in two different ways: q By an integer sequence P = p1 p2...pn where pi i 阅读全文
posted @ 2017-08-19 09:26 冥想选手 阅读(207) 评论(0) 推荐(0) 编辑
摘要:B. Flag of Berland 链接:http://codeforces.com/contest/837/problem/B 思路:题目要求判断三个字母是否是条纹型的,而且宽和高相同,那么先求出三个字母的边界,算下面积,是否和数量相同,不相同的话肯定不为条纹型,然后判断下他们宽和高的关系就行了 阅读全文
posted @ 2017-08-07 17:20 冥想选手 阅读(161) 评论(0) 推荐(0) 编辑
摘要:题目链接:http://codeforces.com/problemset/problem/628/B 解题思路: 一个数最后两位数能被4整除那么这个数就能被4整除,而且题目还是连续的子序列,这就很简单了 实现代码: 阅读全文
posted @ 2017-07-24 16:36 冥想选手 阅读(190) 评论(0) 推荐(0) 编辑
摘要:A. Anton and Polyhedrons 题目链接:http://codeforces.com/contest/785/problem/A 智障水题 实现代码: B. Anton and Classes 链接:http://codeforces.com/contest/785/problem 阅读全文
posted @ 2017-07-23 14:59 冥想选手 阅读(185) 评论(0) 推荐(0) 编辑
摘要:A:链接:http://codeforces.com/contest/825/problem/A 解题思路: 一开始以为是个进制转换后面发现是我想多了,就是统计有多少个1然后碰到0输出就行,没看清题意。。 实现代码: B.Five-In-a-Row 链接:http://codeforces.com/ 阅读全文
posted @ 2017-07-17 23:44 冥想选手 阅读(358) 评论(0) 推荐(0) 编辑
摘要:A:链接:http://codeforces.com/contest/831/problem/A 解题思路: 从前往后分别统计递增,相等,递减序列的长度,如果最后长度和原序列长度相等那么就输出yes; 实现代码: B:链接:http://codeforces.com/contest/831/prob 阅读全文
posted @ 2017-07-16 14:11 冥想选手 阅读(226) 评论(2) 推荐(0) 编辑
摘要:A.题目链接:http://codeforces.com/contest/828/problem/A 解题思路: 直接暴力模拟 B.题目链接:http://codeforces.com/contest/828/problem/B 思路: 暴力 C.题目链接:http://codeforces.com 阅读全文
posted @ 2017-07-12 11:50 冥想选手 阅读(165) 评论(0) 推荐(0) 编辑
摘要:题目链接:http://codeforces.com/problemset/problem/612/B 解题思路: 一开始看错了题意,他要求的是从1-n所耗费的时间,n表示的是数值而不是下标, 实现代码: 阅读全文
posted @ 2017-07-07 10:34 冥想选手 阅读(183) 评论(0) 推荐(0) 编辑
摘要:There are N jobs to be finished. It takes a robot 1 hour to finish one job. At the beginning you have only one robot. Luckily a robot may build more r 阅读全文
posted @ 2017-07-06 16:33 冥想选手 阅读(189) 评论(0) 推荐(0) 编辑

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