Skip to the content.

:warning: library/superstd/Vector.hpp

Depends on

Code

#pragma once
template <typename T> class Vector {
    int m;
    std::vector<T> v;

    Vector() = default;
    Vector(int n, T x = {}) : v(n, x), m(0) {}
    Vector(int L, int R, T x) : v(L + R, x), m(L) {}
};
#line 2 "library/superstd/Vector.hpp"
template <typename T> class Vector {
    int m;
    std::vector<T> v;

    Vector() = default;
    Vector(int n, T x = {}) : v(n, x), m(0) {}
    Vector(int L, int R, T x) : v(L + R, x), m(L) {}
};
Back to top page