摘要:
Description There is a function f(x),which is defined on the natural numbers set N,satisfies the following eqaution N2−3N+2=∑d|Nf(d) calulate ∑Ni=1f(i 阅读全文
摘要:
CF1108A. Two distinct points 做法:模拟 如果两者左端点重合就第二条的左端点++就好,然后输出左端点 CF1108B. Divisors of Two Integers 做法:模拟 坑点好多...首先因为所有因数都有,所以最大的数一定是x,y中的一个.把它拎出来,然后删掉 阅读全文
摘要:
题目地址 "题目链接" Description As we know, any positive integer C ( C = 2 ) can be written as the multiply of some prime numbers: C = p1×p2× p3× ... × pk whi 阅读全文
摘要:
果然abc都是手速场。 倒序开的qwq。 D题因为忘记1e12二进制几位上界爆了一发。 A Entrance Examination 就是除一下就行了。。。 看样例猜题意系列。 B Polygon 他都把定理给你了。。。 你直接按他的意思模拟就好,数组都不用开 cpp include int mai 阅读全文