diff --git a/1878A How Much Does Daytona Cost/1878A.cpp b/1878A How Much Does Daytona Cost/1878A.cpp new file mode 100644 index 0000000..2bc79c6 --- /dev/null +++ b/1878A How Much Does Daytona Cost/1878A.cpp @@ -0,0 +1,77 @@ +#include +using namespace std; + +// Short forms +#define ll long long +#define ull unsigned long long +#define nl '\n' +#define ff first +#define ss second +#define all(x) x.begin(), x.end() +#define sz(x) (int)(x).size() +#define pb push_back +#define mp make_pair + +// Loops +#define nlp(i, n) for (int i = 0; i < (int)(n); ++i) +#define lp(i, a, b) for (int i = (int)(a); i < (int)(b); ++i) +#define rlp(i, a, b) for (int i = (int)(a); i > (int)(b); --i) +#define llp(i,a,b) for (ll i= (ll)(a); i < (ll)(ll)(b); ++i) + +// STLs +#define pii pair +#define vi vector +#define vll vector +#define vvi vector> +#define vvl vector> + +// Outputs +#define yes cout<<"YES"<>n>>k; + vectorv(n); + nlp(i,n) + cin>>v[i]; + for(int i=0; i> TC; + while (TC--) solve(); +} \ No newline at end of file