spoj7001 Visible Lattice Points 莫比乌斯反演+三维空间互质对数
摘要:
/** 题目:Visible Lattice Points 链接:https://vjudge.net/contest/178455#problem/A 题意:一个n*n*n大小的三维空间。一侧为(0,0,0)另一侧为(n,n,n); 问从(0,0,0)出发的经过该范围三维空间内整数点坐标的射线有多少条。 思路: 类比二维的:求1 #include #include #include #... 阅读全文
posted @ 2017-08-14 22:49 hnust_accqx 阅读(159) 评论(0) 推荐(0) 编辑