Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
除了容斥原理还有别的做法能过么?搜索、DP可不可以?我用DP做 O(n^2)的 剪枝是如果输入有N的倍数就直接输出 结果LTE 不知道有没有别的算法好使啊? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator