ECPC 2019 Kickoff |
---|
Finished |
Baby !Ehab found this problem really hard: given 3 numbers, check if at least 2 of them are equal.
The first line contains an integer $$$T$$$, the number of testcases.
The next $$$T$$$ lines, each contains 3 positive numbers. The numbers are between $$$1$$$ and $$$20$$$.
For each testcase, print "YES" if at least 2 of the 3 numbers are equal, "NO" otherwise.
2 1 2 2 2 10 20
YES NO
Name |
---|