
容斥原理
反向爆零直至AK
从零开始的编程生活,枯燥却紧张
展开
-
zoj 2836 Number Puzzle(容斥原理)
题目链接:传送门Number Puzzle Time Limit: 2 Seconds Memory Limit: 65536 KB Given a list of integers (A1, A2, …, An), and a positive integer M, please find the number of positive integers that are not gr原创 2017-08-18 10:05:00 · 322 阅读 · 0 评论 -
zoj-3687-The Review Plan I(禁位排序)
题目链接:传送门The Review Plan I Time Limit: 5 Seconds Memory Limit: 65536 KB Michael takes the Discrete Mathematics course in this semester. Now it’s close to the final exam, and he wants to take a co原创 2017-08-18 17:43:07 · 348 阅读 · 0 评论