11 array<TrieNode *, 26>
nexts = {};
18 void insert(
const string &str);
26 vector<unsigned short>
vec = {};
27 [[nodiscard]]
unsigned long get_size()
const;
28 unsigned short operator[](
unsigned long )
const;
30 vector<unsigned short>
operator*(
unsigned short n)
const;
100 void unite(
int x,
int y);
101 bool same(
int x,
int y);
array< TrieNode *, 26 > nexts
void insert(const string &str)
bool operator>(const BigInt &bi) const
BigInt operator+(const BigInt &bi) const
vector< unsigned short > operator*(unsigned short n) const
unsigned short operator[](unsigned long) const
unsigned long get_size() const
BigInt & operator*=(const BigInt &bi)
bool operator<(const BigInt &bi) const
BigInt & operator-=(const BigInt &bi)
bool operator!=(const BigInt &bi) const
friend ostream & operator<<(ostream &os, const BigInt &)
BigInt(unsigned long long n)
BigInt operator/(const BigInt &bi) const
BigInt operator%(const BigInt &bi) const
bool operator<=(const BigInt &bi) const
bool operator>=(const BigInt &bi) const
vector< unsigned short > vec
friend istream & operator>>(istream &is, const BigInt &)
BigInt & operator/=(const BigInt &bi)
BigInt & operator+=(const BigInt &bi)
bool operator==(const BigInt &bi) const
BigInt & operator%=(const BigInt &bi)
Fraction operator+(const Fraction &f) const
Fraction(bool positive, long long numerator, long long denominator)
Fraction operator-(const Fraction &f) const
unsigned long long get_denominator() const
unsigned long long get_numerator() const
unsigned long long denominator
分母
Fraction operator/(const Fraction &f) const
unsigned long long numerator
分子
friend ostream & operator<<(ostream &os, const Fraction &frac)
Fraction operator*(const Fraction &f) const
vector< vector< int > > mat
Matrix operator*(const Matrix &m) const
vector< int > & operator[](int i)
static Matrix identity(int n)