摘要:
链接:https://ac.nowcoder.com/acm/contest/316/E来源:牛客网 题解: 容斥原理, 四个集合的容斥A∪B∪C∪D=|A|+|B|+|C|+|D| - |A∩B| - |B∩C| - |C∩A|- |A∩D| - |B∩D| - ... 阅读全文
posted @ 2018-12-08 18:05
UUUUh
阅读(194)
评论(0)
推荐(0)
摘要:
链接:https://ac.nowcoder.com/acm/contest/308/B来源:牛客网 题解:暴力,具体看代码注释代码#include using namespace std;const int maxn=1e6+5;int p[maxn];int an... 阅读全文
posted @ 2018-12-08 10:01
UUUUh
阅读(162)
评论(0)
推荐(0)

浙公网安备 33010602011771号