diff --git a/1360B Honest Coach/1360B.cpp b/1360B Honest Coach/1360B.cpp new file mode 100644 index 0000000..f989b73 --- /dev/null +++ b/1360B Honest Coach/1360B.cpp @@ -0,0 +1,56 @@ +#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(n) for(int i=0; i=0; i--) +#define nl '\n' +#define yes cout<<"YES"<>n; + vectorv(n); + fr(n) + cin>>v[i]; + sort(all(v)); + int diff=INT_MAX; + fro(n) + { + diff=min(v[i]-v[i-1],diff); + } + cout<> TC; + while (TC--) solve(); +} \ No newline at end of file