# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
995263 | gmroh06 | Just Long Neckties (JOI20_ho_t1) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pll = pair<ll, ll>;
inline void fastio() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
}
template <typename T> class arr {
private:
vector<T> v;
public:
arr(const ll& n) {
v.resize(n);
}
vector<T>::iterator begin() {
return v.begin();
}
vector<T>::iterator end() {
return v.end();
}
T& operator [] (const ll& idx) {