Parallelogram——平行四边形
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Statement
Given four numbers , determine whether a parallelogram can be formed with sides of lengths .
Input
The input contains a line of four integers representing respectively, where and they are separated by spaces.
Output
If a parallelogram can be formed, output Yes; otherwise, output No. The answer is not case-sensitive, and yEs and YEs are both considered as Yes.
Samples
1 1 4 5
No
1 2 1 2
Yes
江苏理工学院集训队练习 JSUT Round.1 Div.4
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 6
- Start at
- 2025-11-27 19:00
- End at
- 2025-11-27 21:00
- Duration
- 2 hour(s)
- Host
- Partic.
- 0