摘要: http://acm.hdu.edu.cn/showproblem.php?pid=5124linesProblem Description:John has several lines. The lines are covered on the X axis. Let A is a point w... 阅读全文
posted @ 2015-11-10 16:04 午夜阳光~ 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Given the value of N, you will have to find the value of G. The definition of G is given below:Here GCD(i, j) means the greatest common divisor of int... 阅读全文
posted @ 2015-11-10 14:24 午夜阳光~ 阅读(206) 评论(0) 推荐(0) 编辑