14 人解决,15 人已尝试。
19 份提交通过,共有 70 份提交。
4.7 EMB 奖励。
单点时限: 2.0 sec
内存限制: 256 MB
The first line contains a positive integer n that indicates number of test cases.
And each test case contains a line with four integers. The value of parameters of the ellipse a, b(0<|a|,|b|<=100),and the coordinates x, y of P(|x|<=100,|y|<=100) are given successively.
For each test case, output one line. If the given point P lies inside the given ellipse, print “In ellipse” otherwise print the value of ddQF1*QF2 rounded to the nearest integer.
1 1 1 1 1
1
14 人解决,15 人已尝试。
19 份提交通过,共有 70 份提交。
4.7 EMB 奖励。