- 博客(2)
- 收藏
- 关注
原创 UVA - 12532 Interval Product
线段树。因为只需知道正负,所以把正数改成1,负数改成-1就行了。 //基于RMQ的线段树 #include #include #include #include #include using namespace std; const int Max_N = 1000010;//因为数组开小了RE了很久,闷闷地改成了10^6,就A了 int n, dat[2 * Max_N
2015-08-03 23:57:03
338
原创 ZOJ-3861 DFS+回溯
B - Valid Pattern Lock Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Description Pattern lock security is generally used in Android handsets ins
2015-04-16 00:31:18
313
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人