摘要: B. Nikita and string One day Nikita found the string containing letters "a" and "b" only. Nikita thinks that string is beautiful if it can be cut into 阅读全文
posted @ 2020-02-03 16:54 YLzcty 阅读(150) 评论(0) 推荐(0) 编辑
摘要: A. Alex and broken contest time limit per test 2 seconds memory limit per test 256 megabytes One day Alex was creating a contest about his friends, bu 阅读全文
posted @ 2020-02-03 15:00 YLzcty 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 题目描述 为了准备一个独特的颁奖典礼,组织者在会场的一片矩形区域(可看做是平面直角坐标系的第一象限)铺上一些矩形地毯。一共有 n 张地毯,编号从 1 到n。现在将这些地毯按照编号从小到大的顺序平行于坐标轴先后铺设,后铺的地毯覆盖在前面已经铺好的地毯之上。 地毯铺设完成后,组织者想知道覆盖地面某个点的 阅读全文
posted @ 2019-12-09 17:51 YLzcty 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Robot Motion Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3466 Accepted Submission(s): 1608 Pr 阅读全文
posted @ 2019-11-09 11:49 YLzcty 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Crashing Robots Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13304 Accepted: 5545 Description In a modernized warehouse, robots are used 阅读全文
posted @ 2019-11-09 11:35 YLzcty 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Description Accounting for Computer Machinists (ACM) has sufferred from the Y2K bug and lost some vital data for preparing annual report for MS Inc. A 阅读全文
posted @ 2019-11-09 11:24 YLzcty 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Pathfinding is a task of finding a route between two points. It often appears in many problems. For example, in a GPS navigation software where a driv 阅读全文
posted @ 2019-11-09 11:05 YLzcty 阅读(352) 评论(0) 推荐(0) 编辑
摘要: Gardener Alexey teaches competitive programming to high school students. To congratulate Alexey on the Teacher’s Day, the students have gifted him a c 阅读全文
posted @ 2019-11-09 10:51 YLzcty 阅读(258) 评论(0) 推荐(0) 编辑
摘要: The only difference between easy and hard versions is constraints. There are nn kids, each of them is reading a unique book. At the end of any day, th 阅读全文
posted @ 2019-11-09 10:39 YLzcty 阅读(302) 评论(0) 推荐(0) 编辑
摘要: As you might already know, space has always been a problem in ICPC Jakarta. To cope with this, ICPC Jakarta is planning to build two new buildings. Th 阅读全文
posted @ 2019-11-09 10:22 YLzcty 阅读(257) 评论(0) 推荐(0) 编辑