diff --git a/599A Patrick and Shopping/599A.cpp b/599A Patrick and Shopping/599A.cpp new file mode 100644 index 0000000..9a9e31a --- /dev/null +++ b/599A Patrick and Shopping/599A.cpp @@ -0,0 +1,53 @@ +#include +using namespace std; + +#define ll long long +#define ul unsigned long long +#define pb push_back +#define ss second +#define ff first +#define fr(m) for(int i=0; i=0; i--) +#define nl '\n' +#define yes cout<<"YES"<>a>>b>>c; + sets; + s.insert(a+b+c); + s.insert(2*a+2*b); + s.insert(2*a+2*c); + s.insert(2*b+2*c); + auto it= s.begin(); + cout<<*it<> TC; + while (TC--) solve(); +} \ No newline at end of file