原题: Lucy and Lily are twins.Today is their birthday.Mother buys a birthday cake for them. Now we put the cake onto a Descartes coordinate. Its center is at (0,0), and the cake’s length of radius is
题意:给你一系列的点,让你找出一条直线AX+BY=0,使直线把这一系列的点分为两个部分。 由于A,B的范围在-500~500之间,所以直接枚举就可以了。 反思:由于没仔细看题意,If there are many solutions, you can only print one of them.这句话让我吃亏了。 调试的程序和Sample Output 不一样,然后就纠结了老久。。。。