#include
摘要: C. K-Dominant Character time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given a 阅读全文
posted @ 2017-11-21 22:59 0一叶0知秋0 阅读(221) 评论(0) 推荐(0) 编辑
摘要: B. Buggy Robot time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Ivan has a robot which is 阅读全文
posted @ 2017-11-21 12:17 0一叶0知秋0 阅读(465) 评论(0) 推荐(0) 编辑
摘要: A. Local Extrema time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given an array a 阅读全文
posted @ 2017-11-21 07:54 0一叶0知秋0 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 1339: 排队 时间限制: 1 秒 内存限制: 128 MB | 提交: 230 解决: 46 题目描述 学校要进行合唱比赛,需要排一个队形。一共2n个人 队形要求:两排,每排n人,且前排任意一个的人的身高比后排的任意一个人的身高都低。 问是否排成这种队形,如果可以输出“YES”,否则输出“NO” 阅读全文
posted @ 2017-11-21 00:59 0一叶0知秋0 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 1340: 移动坐标 时间限制: 1 秒 内存限制: 128 MB | 提交: 85 解决: 30 题目描述 给你两个点A、B,和固定移动距离(x,y),问是否可以通过移动A点若干次最终到B点。 有四种移动方法: (a,b)->(a+x,b+y); (a,b)->(a+x,b-y); (a,b)-> 阅读全文
posted @ 2017-11-21 00:46 0一叶0知秋0 阅读(225) 评论(0) 推荐(0) 编辑
摘要: B. Ralph And His Magic Field time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Ralph has a 阅读全文
posted @ 2017-11-21 00:24 0一叶0知秋0 阅读(837) 评论(0) 推荐(0) 编辑