摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
1339: 排队 时间限制: 1 秒 内存限制: 128 MB | 提交: 230 解决: 46 题目描述 学校要进行合唱比赛,需要排一个队形。一共2n个人 队形要求:两排,每排n人,且前排任意一个的人的身高比后排的任意一个人的身高都低。 问是否排成这种队形,如果可以输出“YES”,否则输出“NO” 阅读全文
摘要:
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)-> 阅读全文
摘要:
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 阅读全文