摘要:
题目:http://acm.hdu.edu.cn/showproblem.php?pid=1496题意:Consider equations having the following form: a*x1^2+b*x2^2+c*x3^2+d*x4^2=0 a, b, c, d are integer... 阅读全文
posted @ 2015-07-02 22:52
草滩小恪
阅读(185)
评论(0)
推荐(0)
摘要:
题目:http://www.lightoj.com/volume_showproblem.php?problem=1077题意:在平面上, 给出两个点的坐标 例如:(x, y) 其中x, y 都是整数。 求: 以这两个点为端点的线段上一共有几个整数点(即:横纵坐标皆为整数)。解法: 求出|x1 - ... 阅读全文
posted @ 2015-07-02 22:12
草滩小恪
阅读(290)
评论(0)
推荐(0)
浙公网安备 33010602011771号