码迷,mamicode.com
首页 >  
搜索关键字:acm算法    ( 679个结果
Codeforces 444C(线段树)
区间颜色不一致就更新到底,否则lazy标记 #include #include #include #include using namespace std; #define lc l,m,index<<1 #define rc m+1,r,index<<1|1 #define N 100005 #define ll __int64 struct node { bool same; ll c...
分类:其他好文   时间:2014-07-08 18:00:56    阅读次数:226
hdu 3068 最长回文(manacher&最长回文子串)
最长回文 Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 7317    Accepted Submission(s): 2500 Problem Description 给出一个只由小写英文字符a,b,c...y,z组成...
分类:其他好文   时间:2014-07-08 15:24:02    阅读次数:195
poj 2264 Advanced Fruits(DP)
Advanced Fruits Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 1944   Accepted: 967   Special Judge Description The company "21st Century Fruits" has spec...
分类:其他好文   时间:2014-07-06 10:23:04    阅读次数:166
poj 2406 Power Strings(KMP&思维)
Power Strings Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 31093   Accepted: 12974 Description Given two strings a and b we define a*b to be their concate...
分类:其他好文   时间:2014-07-06 00:33:22    阅读次数:253
hdu 1255 覆盖的面积(线段树&扫描线&重复面积)
覆盖的面积 Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3375    Accepted Submission(s): 1645 Problem Description 给定平面上若干矩形,求出被这些矩形覆盖过至少两...
分类:其他好文   时间:2014-07-02 09:11:55    阅读次数:190
hdu 1828 Picture(线段树&扫描线&周长并)
Picture Time Limit: 6000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2578    Accepted Submission(s): 1363 Problem Description A number of rectangul...
分类:其他好文   时间:2014-07-02 08:22:20    阅读次数:388
hdu 1542 Atlantis(线段树&扫描线&面积并)
Atlantis Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 6386    Accepted Submission(s): 2814 Problem Description There are several anc...
分类:其他好文   时间:2014-07-02 08:11:10    阅读次数:263
zoj 3790 Consecutive Blocks(链表重点是思想)
Consecutive Blocks Time Limit: 2 Seconds      Memory Limit: 65536 KB There are N (1 ≤ N ≤ 105) colored blocks (numbered 1 to N from left to right) which are lined up in a row. And the i-th b...
分类:其他好文   时间:2014-07-01 06:51:52    阅读次数:218
poj 3740 Easy Finding(Dancing Links)
Easy Finding Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 15668   Accepted: 4163 Description Given a M×N matrix A. Aij ∈ {0, 1} (0 ≤ i Input There ar...
分类:其他好文   时间:2014-06-30 08:35:45    阅读次数:215
poj 3074 Sudoku(Dancing Links)
Sudoku Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 8152   Accepted: 2862 Description In the game of Sudoku, you are given a large 9 × 9 grid divided in...
分类:其他好文   时间:2014-06-29 22:07:32    阅读次数:279
679条   上一页 1 ... 64 65 66 67 68 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!