- 博客(15)
- 收藏
- 关注
原创 POJ 3468(区间更新)
A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 81386 Accepted: 25137 Case Time Limit: 2000MS Description You have N i
2015-10-29 09:07:32 259
原创 POJ 2828(线段树 单点更新)
Buy Tickets Time Limit: 4000MS Memory Limit: 65536K Total Submissions: 16466 Accepted: 8201 Description Railway tickets were difficult to buy around the Lunar New Yea
2015-10-27 23:12:07 280
原创 CF 505 B (dfs)
链接:http://codeforces.com/problemset/problem/505/B #include using namespace std; int to,res,n,m; int c[105][105][105]; int d[105][105]; int ans[105]; bool vis[105][105][105]; void dfs(int v,int co)
2015-10-14 16:12:36 329
原创 HDU 5499(模拟)
SDOI Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 500 Accepted Submission(s): 210 Problem Description The Annual Nation
2015-10-14 16:08:05 339
原创 HDU 5500
Reorder the Books Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 449 Accepted Submission(s): 294 Problem Description dxy
2015-10-14 16:06:24 340
原创 ZOJ 3911 线段树(区间更新)
Prime Query Time Limit: 1 Second Memory Limit: 196608 KB You are given a simple task. Given a sequence A[i] with N numbers. You have to perform Q operations on the given sequence. Here are
2015-10-14 16:02:33 280
原创 ZOJ 3897(模拟题)
Fiddlesticks Time Limit: 2 Seconds Memory Limit: 65536 KB Fiddlesticks is a popular hero in LOL. When he uses third skill, he can summon a crow to attack one enemy while causing damage t
2015-10-10 14:33:37 422
原创 HDU 4893(线段树区间更新)
Wow! Such Sequence! Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 3856 Accepted Submission(s): 1085 Problem Description R
2015-10-09 21:30:35 264
原创 HDU 4578(线段树区间更新)
Transformation Time Limit: 15000/8000 MS (Java/Others) Memory Limit: 65535/65536 K (Java/Others) Total Submission(s): 3726 Accepted Submission(s): 900 Problem Description Yuanf
2015-10-08 16:02:19 261
原创 cf 583 B. Robot's Task(模拟)
链接:http://codeforces.com/problemset/problem/583/B //求改变的方向次数 //直接模拟 题目是从1 开始 所以从左到右 从右到左 #include #include using namespace std; int a[1000+10]; int vis[1000+10]; int main() { int n,t=0
2015-10-05 23:43:20 334
原创 cf 349 B. Color the Fence(贪心)
链接:http://codeforces.com/problemset/problem/349/B //其实一开始想写dp 结果愣是没写出来 。。。丢人 //贪心:选取体积最小的 接着从剩余的体积加上每一个最小的看看能不能替换比他大的数。。看代码 - - #include using namespace std; int a[10]; int res[1000000+10];
2015-10-05 23:40:12 397
原创 HDU 5317(打表)
RGCDQ Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 2261 Accepted Submission(s): 923 Problem Description Mr. Hdu is intere
2015-10-05 23:29:46 244
原创 HDU 5495(dfs)
LCS Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 417 Accepted Submission(s): 216 Problem Description You are given two se
2015-10-05 23:15:45 284
原创 HDU 5494(水题)
Card Game Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 207 Accepted Submission(s): 157 Problem Description Soda and Beta
2015-10-05 23:09:52 408
原创 HDU 5493(树状数组+二分)
Queue Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 497 Accepted Submission(s): 266 Problem Description N people numbere
2015-10-01 12:42:31 367
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人