摘要:
无根树转有根树 紫书P352 【题目链接】 " http://acm.nyist.net/JudgeOnline/problem.php?pid=20 " 【题目类型】树 <! <font color= FF00FF size=5 face="幼圆" &题意: </font &题解: 南阳理工的oj 阅读全文
摘要:
欧拉函数模板 模板1:直接求n的phi值 模板2:打欧拉函数表 define Max 1000009 int euler[Max]; void Init(){ //1的欧拉函数值是1 euler[1]=1; for(int i=2;i 阅读全文