摘要: #题目链接 CodeForces - 997C Sky Full of Stars #题解 有空补一下套题题解Qwq,然而我只是pilpuQwq 设$f(i,j)$表示至少有i行j列一种颜色的方案数 可以发现,当ij有相交时颜色只能为一种 那么对于$i=0 || j=0$时$f(i,j) = C_n 阅读全文
posted @ 2018-07-09 09:10 zzzzx 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 题目链接 "bzoj4196: [Noi2015]软件包管理器" 题解 看来我还没忘Qwq 一个std随便打,12 min 1A,刺激,好吧,其实很慢 题解 c++ include using namespace std; inline int read() { int x = 0,f = 1; c 阅读全文
posted @ 2018-07-09 08:18 zzzzx 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 题目链接 "bzoj4034: [HAOI2015]树上操作" 题解 树剖线段树 代码 c++ include using namespace std; inline int read() { int x = 0,f = 1; char c = getchar(); while(c '9'){if( 阅读全文
posted @ 2018-07-09 08:16 zzzzx 阅读(129) 评论(0) 推荐(0) 编辑