-->
当前位置:首页 > 题库

PROGRAMMING:Which cookie are you

Luz5年前 (2021-05-10)题库397
$$Bear\_ In addition to bear biscuits, diamond biscuits and square biscuits are also produced. But No.1 workshop quality inspector Zhang is a fool, he can only judge their side length to determine the shape, as we all know, this is not OK. In order not to lose her job, she turned to you for help, please help to determine which biscuit it is?
###Input format:
Enter clockwise.
The input includes line $$4 $, and line $$I $$gives two integers $$X_ i,Y_ i(-100<=X_ i,Y_ i<=100)$$
Ensure that the four sides of the input are the same length
###Output format:
If it is a diamond biscuit, please output "LX", otherwise please output "ZFX"
###Input example:
Here is a set of inputs. For example:
```in
0 0
0 1
1 1
1 0
```
###Output example:
The corresponding output is given here. For example:
```out
ZFX
```







answer:If there is no answer, please comment