最新 最热

数学--数论--HDU-2698 Maximum Multiple(规律)

只有因子中有4或者有3才能被拆成 X+Y+Z=N,然后打了表验证。 最后wa了好几次,是因为int和int计算之后还是int就算赋值给long long . 打表代码

2020-11-06
1

数学--数论-- HDU6298 Maximum Multiple 打表找规律

只有因子中有4或者有3才能被拆成 X+Y+Z=N,然后打了表验证。 最后wa了好几次,是因为int和int计算之后还是int就算赋值给long long . 打表代码

2020-11-06
1

数学--数论--HDU - 6322 打表找规律

In number theory, Euler's totient function φ(n) counts the positive integers up to a given integer n that are relatively prime to n. It can be defined more form...

2020-11-06
1

数学--数论-- HDU 2601 An easy problem(约束和)

Problem DescriptionWhen Teddy was a child , he was always thinking about some simple math problems ,such as “What it’s 1 cup of water plus 1 pile of dough ..” ...

2020-11-06
1

数学--数论--Hdu 5793 A Boring Question (打表+逆元)

There are an equation. ∑0≤k1,k2,⋯km≤n∏1⩽j<m(kj+1kj)%1000000007=? We define that (kj+1kj)=kj+1!kj!(

2020-11-06
1

数学--数论--HDU 1098 Ignatius's puzzle (费马小定理+打表)

Problem Description Ignatius is poor at math,he falls across a puzzle problem,so he has no choice but to appeal to Eddy. this problem describes that:f(x)=5x13+...

2020-11-06
1

图论--拓扑排序--HDU-1285确定比赛名次

Problem Description 有N个比赛队(1<=N<=500),编号依次为1,2,3,....,N进行比赛,比赛结束后,裁判委员会要将所有参赛队伍从前往后依次排名,但现在裁判委员会不能直接获得每个队的比赛成绩,只知道每场比赛的结果,即P1赢P2,用P1,P2表示...

2020-11-05
1

数学--数论--HDU 2802 F(N) 公式推导或矩阵快速幂

Giving the N, can you tell me the answer of F(N) Input Each test case contains a single integer N(1<=N<=10^9). The input is terminated by a set starting with N...

2020-11-05
1

数学--数论--hdu 6216 A Cubic number and A Cubic Number (公式推导)

A cubic number is the result of using a whole number in a multiplication three times. For example, 3×3×3=27 so 27 is a cubic number. The first few cubic number...

2020-11-05
1