上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页
摘要: 问题 I: qwb VS 去污棒 题目描述 qwb表白学姐失败后,郁郁寡欢,整天坐在太阳底下赏月。在外人看来,他每天自言自语,其实他在和自己的影子“去污棒”聊天。 去污棒和qwb互相出题考验对方,去污棒问了qwb这样一个问题: 现已知一个有n个正整数的序列a[1],a[2]...a[n],接下来有m 阅读全文
posted @ 2017-06-03 09:21 Blackops 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 3673: 可持久化并查集 by zky Description n个集合 m个操作 操作: 1 a b 合并a,b所在集合 2 k 回到第k次操作之后的状态(查询算作操作) 3 a b 询问a,b是否属于同一集合,是则输出1否则输出0 0<n,m<=2*10^4 n个集合 m个操作 操作: 1 a 阅读全文
posted @ 2017-05-24 17:54 Blackops 阅读(220) 评论(0) 推荐(0) 编辑
摘要: [1618] 投放炸弹 时间限制: 1000 ms 内存限制: 65535 K 问题描述 我们定义一个炸弹能炸毁的地方要求曼哈顿距离小于等于某个值。 曼哈顿距离——两点在南北方向上的距离加上在东西方向上的距离,即d(i,j)=|xi-xj|+|yi-yj|。-来自百度百科 现在给出一个n*m的平面图 阅读全文
posted @ 2017-05-19 13:51 Blackops 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 世风日下的哗啦啦族I Time Limit: 4000/2000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others) Submit Statistic Next Problem Problem Description "世风日下啊,女 阅读全文
posted @ 2017-05-19 10:06 Blackops 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Paint The Wall Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3427 Accepted Submission(s): 95 阅读全文
posted @ 2017-05-11 21:43 Blackops 阅读(545) 评论(0) 推荐(0) 编辑
摘要: One day, Peter came across a function which looks like: F(1, X) = X mod A1. F(i, X) = F(i - 1, X) mod Ai, 2 ≤ i ≤ N. Where A is an integer array of le 阅读全文
posted @ 2017-04-18 20:30 Blackops 阅读(317) 评论(0) 推荐(0) 编辑
摘要: D. Anton and School - 2 time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Anton and Sch 阅读全文
posted @ 2017-04-11 17:39 Blackops 阅读(218) 评论(0) 推荐(2) 编辑
摘要: Special Fish Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2367 Accepted Submission(s): 878 Pr 阅读全文
posted @ 2017-04-07 17:26 Blackops 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Function Time Limit: 7000/3500 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 2427 Accepted Submission(s): 858 Prob 阅读全文
posted @ 2017-04-03 17:04 Blackops 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Censor frog is now a editor to censor so-called sensitive words (敏感词). She has a long text \(p\). Her job is relatively simple -- just to find the fir 阅读全文
posted @ 2017-04-03 11:39 Blackops 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 题目描述 题目描述 现在给两个仅包含小写字母的字符串a,b ,求a 与b的最长公共连续子串的长度。 现在给两个仅包含小写字母的字符串a,b ,求a 与b的最长公共连续子串的长度。 输入格式 输入格式 两个字符串 两个字符串 输出格式 输出格式 一个整数,为输入的两个字符串的最长公共连续子串的长度 一 阅读全文
posted @ 2017-04-03 11:39 Blackops 阅读(506) 评论(0) 推荐(0) 编辑
摘要: Leo has a grid with N × N cells. He wants to paint each cell with a specific color (either black or white). Leo has a magical brush which can paint an 阅读全文
posted @ 2017-04-02 21:33 Blackops 阅读(410) 评论(0) 推荐(0) 编辑
摘要: Rank of Tetris Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 9267 Accepted Submission(s): 2668 阅读全文
posted @ 2017-03-31 22:21 Blackops 阅读(315) 评论(0) 推荐(0) 编辑
摘要: Friendship Time Limit: 2000MS Memory Limit: 20000K Total Submissions: 10744 Accepted: 2984 Description In modern society, each person has his own frie 阅读全文
posted @ 2017-03-18 13:37 Blackops 阅读(237) 评论(0) 推荐(0) 编辑
摘要: K Best Time Limit: 8000MS Memory Limit: 65536K Total Submissions: 9876 Accepted: 2535 Case Time Limit: 2000MS Special Judge Description Demy has n jew 阅读全文
posted @ 2017-03-14 18:42 Blackops 阅读(232) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页