You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are given four integers a, b, c and d. Determine if there's a rectangle such that the lengths of its sides are a, b, c and d (in any order).
First line contain number of test cases
Sample Input 1
3
1 1 2 2
3 2 2 3
1 2 2 2
Sample Output 1
YES
YES
NO
I want to add solution of this question in C++ Section please assign to me
The text was updated successfully, but these errors were encountered:
You are given four integers a, b, c and d. Determine if there's a rectangle such that the lengths of its sides are a, b, c and d (in any order).
First line contain number of test cases
Sample Input 1
3
1 1 2 2
3 2 2 3
1 2 2 2
Sample Output 1
YES
YES
NO
I want to add solution of this question in C++ Section please assign to me
The text was updated successfully, but these errors were encountered: