这里有亿些容易挂的地方的 hack。本来想放在自己的题解里的,可惜题解通道关了。
input:
8 14 1 1 4 1 0 0 -1 2 3 -1 -2 4 -2 4 -2 -9 12 14 1 12 8 4 12 2
output:
NO 0 3 -1+sqrt(5) 1 2/3+sqrt(2) -6+2*sqrt(7) -3/2+sqrt(7)/2