POJ2478 - Farey Sequence(法雷级数&&欧拉函数)
摘要:
题目大意 直接看原文吧。。。。 The Farey Sequence Fn for any integer n with n >= 2 is the set of irreducible rational numbers a/b with 0 #include#include#include#define MAXN 1000005using namespace std;int phi[MAXN],... 阅读全文
posted @ 2013-07-19 16:26 仗剑奔走天涯 阅读(221) 评论(0) 推荐(0) 编辑