摘要: 1562 玻璃切割 http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1562 题目来源: CodeForces 基准时间限制:1.5 秒 空间限制:131072 KB 分值: 20 难度:3级算法题 1562 玻璃切割 ht 阅读全文
posted @ 2017-05-03 17:21 Echo宝贝儿 阅读(453) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=2407 题意:多组数据,每次输入一个数 ,求这个数的欧拉函数 int euler_phi(int n){//单个欧拉函数 int m=(int)sqrt(n+0.5); int ans=n; for(int i=2;i<=m;i++)if(n%i 阅读全文
posted @ 2017-05-03 12:50 Echo宝贝儿 阅读(302) 评论(0) 推荐(0) 编辑