
LCM
coldfresh
那我们开始吧
展开
-
Astronomy POJ - 3101(LCM 和DCD)
There are n planets in the planetary system of star X. They orbit star X in circular orbits located in the same plane. Their tangent velocities are constant. Directions of orbiting of all planets are t原创 2017-06-06 11:15:30 · 425 阅读 · 0 评论 -
GCD and LCM HDU - 4497 (唯一分解定理)
Given two positive integers G and L, could you tell me how many solutions of (x, y, z) there are, satisfying that gcd(x, y, z) = G and lcm(x, y, z) = L? Note, gcd(x, y, z) means the greatest common d原创 2017-09-30 20:18:18 · 576 阅读 · 0 评论