#include using namespace std; #ifdef ONLINE_JUDGE #define dbg(...) #else #include "debug.h" #endif #define ll long long #define endl '\n' #define all(x) x.begin(), x.end() #define sz(x) (int)(x).size() #define yes cout<<"YES"<>=1;}return ans;} void solve() { vectorv(4); for(auto &i:v) cin>>i; sort(all(v)); cout<> TC; while (TC--) solve(); }