码迷,mamicode.com
首页 >  
搜索关键字:euler    ( 502个结果
COIN(欧拉函数)
1 #include 2 #include 3 #include 4 using namespace std; 5 typedef long long ll; 6 ll x, ans=0; 7 int euler[10000005]; 8 void e(int n){ 9 euler[1]=1; 1... ...
分类:其他好文   时间:2018-08-02 22:52:40    阅读次数:210
2018HDU多校训练-3-Problem D. Euler Function
链接:http://acm.hdu.edu.cn/showproblem.php?pid=6322 Problem Description In number theory, Euler's totient function φ(n) counts the positive integers up ...
分类:其他好文   时间:2018-07-31 23:26:39    阅读次数:115
2018 Multi-University Training Contest 3
1001:Problem A. Ascending Rating 1003: Problem C. Dynamic Graph Matching 1004:Problem D. Euler Function 1006:Problem F. Grab The Tree 1007: Problem G. ...
分类:其他好文   时间:2018-07-31 21:36:48    阅读次数:202
Problem D. Euler Function
Problem D. Euler Function 题目: Problem D. Euler Function Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others)Total Submis ...
分类:其他好文   时间:2018-07-30 21:42:05    阅读次数:198
Unity的四元素与Vector3的乘积的含义
Quaternion.Euler(x,y,z)含义是按照每个旋转轴以x,y,z旋转度旋转,例子:Quaternion.Euler(45,45,45) Quaternion与Vector3的右乘操作(*)返回一个将原有向量做旋转操作后的新向量 列如:Quaternion.Euler(0,90,0)*V ...
分类:编程语言   时间:2018-07-22 19:23:09    阅读次数:891
一路编程——推荐编程学习网站
1.Project Euler https://projecteuler.net/ What is Project Euler? Project Euler is a series of challenging mathematical/computer programming problems t ...
分类:Web程序   时间:2018-07-15 16:09:37    阅读次数:201
project euler之Large sum
import fileinput f=open("1.txt","r") m=0 for i in range(100): s=f.readline() m+=int(s) print(m) ...
分类:其他好文   时间:2018-07-08 20:14:23    阅读次数:117
project euler之特殊的毕达哥拉斯三重奏
for a in range(1,333): for b in range(300,600): c = 1000-a-b if((a<b)and(a<c)and(b<c)) and a**2 + b**2 == c**2: print(a,b,c) ...
分类:其他好文   时间:2018-07-07 20:53:34    阅读次数:124
project euler之 素数的总和
#这是自己的解法 比较无脑import math sum = 0 num = 1 while num 1: for i in range(2, int(math.sqrt(num))+1): if (num % i) == 0: break else: print(num, "是质数"... ...
分类:其他好文   时间:2018-07-07 20:31:30    阅读次数:163
project euler之系列中最大的产品
num=str(7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532... ...
分类:其他好文   时间:2018-07-07 20:08:30    阅读次数:149
502条   上一页 1 ... 8 9 10 11 12 ... 51 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!