码迷,mamicode.com
首页 >  
搜索关键字:欧拉    ( 2880个结果
Transform.eulerAngles 欧拉角
vareulerAngles:Vector3Description描述The rotation as Euler angles in degrees.旋转作为欧拉角度。The x, y, and z angles represent a rotation z degrees around the z...
分类:其他好文   时间:2014-07-22 23:15:35    阅读次数:327
POJ 2407 Relatives(欧拉函数)
题目链接题意 : 求小于等于n中与n互质的数的个数。思路 : 看数学的时候有一部分是将欧拉函数的,虽然我没怎么看懂,但是模板我记得了,所以直接套了一下模板。这里是欧拉函数的简介。 1 #include 2 #include 3 #include 4 #include 5 #include ...
分类:其他好文   时间:2014-05-06 11:58:13    阅读次数:285
网络流(置顶)
poj1637 判断混合图是否能形成欧拉回路:网络流做奇偶性判断(inspire) 1 //dinic算法: 2 #include 3 #include 4 #include 5 #include 6 #include 7 8 #define INF 0x3f3f3f3f...
分类:其他好文   时间:2014-05-05 23:25:28    阅读次数:464
HDU 3501 Calculation 2(欧拉函数的应用)
HDU 3501 Calculation 2大意:求1~n之间与n不互质的数的总和。思路:欧拉函数的应用;先用欧拉函数求出与n互质的总数m,计算m个数的总和,用n的总和减去m的总和就是想要的结果。 1 #include 2 #define LL __int64 3 4 int eular(int.....
分类:其他好文   时间:2014-05-05 10:29:56    阅读次数:308
hdu 3501 Calculation 2 (欧拉函数)
题目题意:求小于n并且和n不互质的数的总和。思路:求小于n并且与n互质的数的和为:n*phi[n]/2 .若a和n互质,n-a必定也和n互质(a1是,phi(m)表示比m小且与m互质的正整数个数 1 #include 2 #include 3 #include 4 #include 5 #i...
分类:其他好文   时间:2014-05-05 09:50:27    阅读次数:396
(一)欧拉积分
欧拉是数学家心目中的英雄,欧拉积分具有重要的应用。先给出欧拉积分的性质以便为进入分数阶微积分打下基础。1.1 $\beta$函数定义$$B(\alpha,\beta)=\int_{0}^{1}x^{\alpha-1}(1-x)^{\beta-1}dx$$易看出$0$和$1$为奇点,积分在$\alph...
分类:其他好文   时间:2014-05-04 11:54:07    阅读次数:500
hdu 3594 Cactus /uva 10510 仙人掌图判定
仙人掌图(有向):同时满足:1强连通;2任何边不在俩个环中。 个人理解:其实就是环之间相连,两两只有一个公共点,(其实可以缩块),那个公共点是割点。HDU数据弱,网上很多错误代码和解法也可以过。 个人解法: 我认为:  :仙人掌图必然是欧拉图!这样只用“入度=出度”就可以简单地判断强连通(欧拉图显然强连通)了!而且这个必要(不充分)条件还秒杀好多数据(强连通++)。       个人证明...
分类:其他好文   时间:2014-05-03 21:38:39    阅读次数:250
HDU 2894 欧拉回路
#include #include #include #include #include using namespace std; #define N 20020 struct node{ int from, to, dou, nex; }edge[N]; int head[N], edgenum; void add(int u, int v,int dou){ node E={u,v,dou...
分类:其他好文   时间:2014-05-03 15:25:32    阅读次数:340
欧拉计划16-20题
16、Power digit sum215= 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.What is the sum of the digits of the number 21000?题目大意:215= 32768 并且其...
分类:其他好文   时间:2014-05-02 13:17:49    阅读次数:1223
欧拉计划21-23题
21、Amicable numbersLet d(n) be defined as the sum of proper divisors ofn(numbers less thannwhich divide evenly inton). If d(a) =band d(b) =a, whereab,...
分类:其他好文   时间:2014-05-02 09:28:12    阅读次数:776
2880条   上一页 1 ... 286 287 288
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!