随笔分类 -  NBUT

摘要:[1618] 投放炸弹 时间限制: 1000 ms 内存限制: 65535 K 问题描述 我们定义一个炸弹能炸毁的地方要求曼哈顿距离小于等于某个值。 曼哈顿距离——两点在南北方向上的距离加上在东西方向上的距离,即d(i,j)=|xi-xj|+|yi-yj|。-来自百度百科 现在给出一个n*m的平面图 阅读全文
posted @ 2017-05-19 13:51 Blackops 阅读(196) 评论(0) 推荐(0)
摘要:Problem 1074: Hey Judge Problem 1074: Hey Judge Time Limits: 1000 MS Memory Limits: 65536 KB 64-bit interger IO format: %lld Java class name: Main Tim 阅读全文
posted @ 2016-11-06 15:35 Blackops 阅读(268) 评论(0) 推荐(0)
摘要:Problem 1072: The longest same color grid Problem 1072: The longest same color grid Time Limits: 1000 MS Memory Limits: 65536 KB 64-bit interger IO fo 阅读全文
posted @ 2016-10-23 00:12 Blackops 阅读(214) 评论(0) 推荐(0)
摘要:[1525] Cow Xor 时间限制: 2000 ms 内存限制: 65535 K 问题描述 农民约翰在喂奶牛的时候被另一个问题卡住了。他的所有N(1 <= N <= 100,000)个奶牛在他面前排成一行(按序号1..N的顺序),按照它们的社会等级排序。奶牛#1有最高的社会等级,奶牛#N最低。每 阅读全文
posted @ 2016-10-05 22:32 Blackops 阅读(368) 评论(0) 推荐(0)
摘要:[1186] Get the Width 时间限制: 1000 ms 内存限制: 65535 K 问题描述 It's an easy problem. I will give you a binary tree. You just need to tell me the width of the b 阅读全文
posted @ 2016-09-06 23:32 Blackops 阅读(295) 评论(0) 推荐(0)
摘要:[1635] Explosion 时间限制: 10000 ms 内存限制: 65535 K 问题描述 there is a country which contains n cities connected by n - 1 roads(just like a tree). If you place 阅读全文
posted @ 2016-08-28 15:22 Blackops 阅读(209) 评论(0) 推荐(0)
摘要:[1602] Mod Three 时间限制: 5000 ms 内存限制: 65535 K 问题描述 Please help me to solve this problem, if so, LiangChen must have zhongxie! There is a sequence conta 阅读全文
posted @ 2016-08-28 14:08 Blackops 阅读(300) 评论(0) 推荐(0)
摘要:[1028] 该减肥了 时间限制: 1000 ms 内存限制: 65535 K 问题描述 由于长期缺乏运动,Teacher Xuan发现自己的身材臃肿了许多,于是他想健身,更准确地说是减肥。Teacher Xuan买来一块圆形的毯子,把它们分成三等分,分别标上A,B,C,称之为“跳舞毯”,他的运动方 阅读全文
posted @ 2016-08-26 11:49 Blackops 阅读(251) 评论(0) 推荐(0)
摘要:[1010] 魔法少女 时间限制: 1000 ms 内存限制: 65535 K 问题描述 前些时间虚渊玄的巨献小圆着实火了一把。 在黑长直(小炎)往上爬楼去对抗魔女之夜时,她遇到了一个问题想请你帮忙。 因为魔女之夜是悬浮在半空的,所以她必须要爬楼,而那座废墟一共有n层,而且每层高度不同,这造成小炎爬 阅读全文
posted @ 2016-08-25 22:23 Blackops 阅读(235) 评论(0) 推荐(0)
摘要:[1673] 迷宫问题 时间限制: 1000 ms 内存限制: 65535 K 问题描述 Alex的猫咪不小心走进了迷宫,Alex为了心爱的猫咪,决定进入迷宫去解救他的猫咪。 已知猫咪坐标为(n - 1, m - 1),Alex坐标为(0, 0),Alex只能往下或者往右走,且不能走出迷宫,迷宫的大 阅读全文
posted @ 2016-08-20 20:21 Blackops 阅读(315) 评论(0) 推荐(0)
摘要:[1457] Sona 时间限制: 5000 ms 内存限制: 65535 K 问题描述 Sona, Maven of the Strings. Of cause, she can play the zither. Sona can't speak but she can make fancy mu 阅读全文
posted @ 2016-08-12 15:53 Blackops 阅读(286) 评论(0) 推荐(0)
摘要:[1651] Red packet 时间限制: 1000 ms 内存限制: 65535 K 问题描述 New Year is coming! Our big boss Wine93 will distribute some “Red Package”, just like Alipay and We 阅读全文
posted @ 2016-08-11 00:07 Blackops 阅读(256) 评论(0) 推荐(0)
摘要:Problem 1022: 短信篮球 Problem 1022: 短信篮球 Time Limits: 1000 MS Memory Limits: 65536 KB 64-bit interger IO format: %lld Java class name: Main Time Limits: 阅读全文
posted @ 2016-08-09 11:06 Blackops 阅读(178) 评论(0) 推荐(0)
摘要:今天做题运气出奇的好,除了几处小错误调试之后忘记改掉了……最后还AK了……虽然题目不难,学长也说是福利局,但是对个人的鼓励作用还是挺大的……至此暑假训练就结束了,也算没有遗憾……。 题解如下: Problem A: 苦逼的MCA Problem A: 苦逼的MCA Time Limits: 1000 阅读全文
posted @ 2016-07-31 21:41 Blackops 阅读(324) 评论(0) 推荐(0)
摘要:Problem 1009: 蛤玮的魔法 Problem 1009: 蛤玮的魔法 Time Limits: 1000 MS Memory Limits: 65536 KB 64-bit interger IO format: %lld Java class name: Main Time Limits 阅读全文
posted @ 2016-07-28 23:02 Blackops 阅读(291) 评论(0) 推荐(0)
摘要:Problem 1061: 好序列 Problem 1061: 好序列 Time Limits: 1000 MS Memory Limits: 65536 KB 64-bit interger IO format: %lld Java class name: Main Time Limits: 10 阅读全文
posted @ 2016-07-25 15:24 Blackops 阅读(416) 评论(0) 推荐(0)
摘要:Problem 1034: Salary Inequity Problem 1034: Salary Inequity Time Limits: 10000 MS Memory Limits: 200000 KB 64-bit interger IO format: %lld Java class 阅读全文
posted @ 2016-07-22 17:46 Blackops 阅读(305) 评论(0) 推荐(0)
摘要:Problem 1004: 蛤玮打扫教室 Problem 1004: 蛤玮打扫教室 Time Limits: 1000 MS Memory Limits: 65536 KB 64-bit interger IO format: %lld Java class name: Main Time Limi 阅读全文
posted @ 2016-07-21 16:26 Blackops 阅读(262) 评论(0) 推荐(0)
摘要:Problem 1050: Just Go Problem 1050: Just Go Time Limits: 3000 MS Memory Limits: 65536 KB 64-bit interger IO format: %lld Java class name: Main Time Li 阅读全文
posted @ 2016-07-19 12:35 Blackops 阅读(311) 评论(0) 推荐(0)
摘要:Problem 1057: Hkhv的水题之二 Problem 1057: Hkhv的水题之二 Time Limits: 1000 MS Memory Limits: 65536 KB 64-bit interger IO format: %lld Java class name: Main Tim 阅读全文
posted @ 2016-07-10 23:14 Blackops 阅读(221) 评论(0) 推荐(0)