Kyopro Library
 
読み取り中…
検索中…
一致する文字列を見つけられません
template.hpp ファイル
#include <bits/stdc++.h>

[ソースコード]

マクロ定義

#define ALL(x)
 
#define REP(i, n)
 
#define PER(i, n)
 
#define debug(...)
 
#define print_line
 

型定義

template<typename T>
using rpriority_queue = priority_queue<T,vector<T>,greater<T>>
 
using ll = long long
 
using ld = long double
 
using lll = __int128_t
 
using VI = vector<int>
 
using VVI = vector<VI>
 
using VL = vector<ll>
 
using VVL = vector<VL>
 
using PL = pair<ll,ll>
 
using VP = vector<PL>
 
using WG = vector<vector<pair<int,ll>>>
 

関数

template<typename T>
int LB (const vector< T > &v, T x)
 
template<typename T>
int UQ (T &v)
 
template<typename T>
bool chmax (T &a, T b)
 
template<typename T>
bool chmin (T &a, T b)
 

変数

const int INF =1e9+10
 
const ll INFL =4e18
 

マクロ定義詳解

◆ ALL

#define ALL ( x)
値:
(x).begin(),(x).end()

template.hpp4 行目に定義があります。

◆ REP

#define REP ( i,
n )
値:
for(ll i=0; i<(ll)(n); i++)
long long ll
Definition template.hpp:13

template.hpp5 行目に定義があります。

◆ PER

#define PER ( i,
n )
値:
for(ll i=(ll)(n)-1; i>=0; i--)

template.hpp6 行目に定義があります。

◆ debug

#define debug ( ...)

template.hpp22 行目に定義があります。

◆ print_line

#define print_line

template.hpp23 行目に定義があります。

型定義詳解

◆ rpriority_queue

template<typename T>
using rpriority_queue = priority_queue<T,vector<T>,greater<T>>

template.hpp12 行目に定義があります。

◆ ll

using ll = long long

template.hpp13 行目に定義があります。

◆ ld

using ld = long double

template.hpp14 行目に定義があります。

◆ lll

using lll = __int128_t

template.hpp14 行目に定義があります。

◆ VI

using VI = vector<int>

template.hpp15 行目に定義があります。

◆ VVI

using VVI = vector<VI>

template.hpp15 行目に定義があります。

◆ VL

using VL = vector<ll>

template.hpp15 行目に定義があります。

◆ VVL

using VVL = vector<VL>

template.hpp15 行目に定義があります。

◆ PL

using PL = pair<ll,ll>

template.hpp16 行目に定義があります。

◆ VP

using VP = vector<PL>

template.hpp16 行目に定義があります。

◆ WG

using WG = vector<vector<pair<int,ll>>>

template.hpp16 行目に定義があります。

関数詳解

◆ LB()

template<typename T>
int LB ( const vector< T > & v,
T x )

template.hpp8 行目に定義があります。

◆ UQ()

template<typename T>
int UQ ( T & v)

template.hpp9 行目に定義があります。

◆ chmax()

template<typename T>
bool chmax ( T & a,
T b )

template.hpp10 行目に定義があります。

◆ chmin()

template<typename T>
bool chmin ( T & a,
T b )

template.hpp11 行目に定義があります。

変数詳解

◆ INF

const int INF =1e9+10

template.hpp13 行目に定義があります。

◆ INFL

const ll INFL =4e18

template.hpp13 行目に定義があります。