摘要: 又一道状压dp查了半天错 又被位运算的优先级坑了 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #define b(a) (1>1;37 }38 return 1;39 }... 阅读全文
posted @ 2015-07-17 16:28 ChenThree 阅读(106) 评论(0) 推荐(0) 编辑
摘要: t1并查集离散化乱搞(代码丑就不放了)t2树链剖分(不会)t3数论(不会)orzlsj230@HLFTFSFP试题:http://pan.baidu.com/s/1c04j3Qo 阅读全文
posted @ 2015-07-17 14:45 ChenThree 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 第一次写期望dp 略坑 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #define clr(a,x) memset(a,x,sizeof(a)) 9 #define rep(i,l,r)... 阅读全文
posted @ 2015-07-17 12:10 ChenThree 阅读(172) 评论(1) 推荐(0) 编辑