摘要: 5020: Palindromic Paths Time Limit(Common/Java):10000MS/30000MS Memory Limit:65536KByteTotal Submit: 8 Accepted:4 Description Given an N×N grid of fie 阅读全文
posted @ 2017-08-02 23:03 暴力都不会的蒟蒻 阅读(485) 评论(0) 推荐(0)
摘要: 推荐一个大佬的两篇文章 莫比乌斯函数 读贾志鹏线性筛有感 (莫比乌斯函数的应用) 莫比乌斯函数(Möbius function)是指以下的函数: 在这里,λ(n)是刘维尔函数 莫比乌斯函数是一个数论函数,它同时也是一个积性函数(i.e.μ(ab) =μ(a)μ(b), a,b互质) 当n不等于1时, 阅读全文
posted @ 2017-08-02 13:47 暴力都不会的蒟蒻 阅读(1110) 评论(0) 推荐(0)
摘要: 4475: The Coolest Sub-matrix Time Limit(Common/Java):4000MS/12000MS Memory Limit:65536KByteTotal Submit: 50 Accepted:13 Description Given an N*N matri 阅读全文
posted @ 2017-08-02 12:47 暴力都不会的蒟蒻 阅读(210) 评论(0) 推荐(0)
摘要: D - Game on Tree Time limit : 2sec / Memory limit : 256MB Score : 1100 points Problem Statement There is a tree with N vertices numbered 1,2,…,N. The 阅读全文
posted @ 2017-08-02 09:34 暴力都不会的蒟蒻 阅读(730) 评论(0) 推荐(0)