上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 54 下一页
摘要: Guilty Prince Memory Limit: 32 MB Once there was a king named Akbar. He had a son named Shahjahan. For an unforgivable reason the king wanted him to l 阅读全文
posted @ 2017-07-12 17:45 ZERO- 阅读(201) 评论(0) 推荐(0) 编辑
摘要: C. Socks time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Socks time limit per test 2 阅读全文
posted @ 2017-07-12 17:01 ZERO- 阅读(491) 评论(7) 推荐(0) 编辑
摘要: wtmsb Time Limit: 1000/100MS (Java/Others) Memory Limit: 131072/131072KB (Java/Others) 这天,AutSky_JadeKAutSky_JadeK 看到了n张图片,他忍不住说道:“我TM 社保!”。每张图片有一个社保值 阅读全文
posted @ 2017-07-12 15:24 ZERO- 阅读(275) 评论(0) 推荐(1) 编辑
摘要: Sqrt Bo Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 2222 Accepted Submission(s): 883 Proble 阅读全文
posted @ 2017-07-12 12:23 ZERO- 阅读(257) 评论(6) 推荐(0) 编辑
摘要: 备忘。 差分数组: 区间更新查询有很多方法,线段树、树状数组等都可以。如果为离线查询,就可以考虑使用差分数组。 假设对于区间[l,r]的每个数都加1,我们用一个数组a来记录,a[l]+=1;a[r+1]-=1; 然后使用一个数组ans来记录数组a的前缀和,ans[i]=ans[i-1]+a[i];a 阅读全文
posted @ 2017-07-08 00:17 ZERO- 阅读(275) 评论(0) 推荐(0) 编辑
摘要: I Hate It Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 76994 Accepted Submission(s): 29632 Pro 阅读全文
posted @ 2017-07-08 00:14 ZERO- 阅读(289) 评论(0) 推荐(0) 编辑
摘要: Super-palindrome 题面地址:http://acm.hdu.edu.cn/downloads/CCPC2018-Hangzhou-ProblemSet.pdf 这道题是差分数组的题目,线段树也可以写,但是代码太长没必要。 代码: 阅读全文
posted @ 2017-07-08 00:13 ZERO- 阅读(380) 评论(0) 推荐(1) 编辑
摘要: Balanced Lineup Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 53721 Accepted: 25244 Case Time Limit: 2000MS Description For the daily mil 阅读全文
posted @ 2017-07-07 23:43 ZERO- 阅读(369) 评论(8) 推荐(0) 编辑
摘要: A. Who is the winner? time limit per test 1 second memory limit per test 64 megabytes input standard input output standard output A. Who is the winner 阅读全文
posted @ 2017-07-07 23:15 ZERO- 阅读(379) 评论(4) 推荐(0) 编辑
摘要: 又见GCD Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 19327 Accepted Submission(s): 8044 Problem 阅读全文
posted @ 2017-07-07 23:05 ZERO- 阅读(934) 评论(3) 推荐(0) 编辑
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 54 下一页