読み取り中…
検索中…
一致する文字列を見つけられません
[詳解]
2#include <bits/stdc++.h>
4#define ALL(x) (x).begin(), (x).end()
5#define REP(i, n) for(ll i=0
; i<(ll)(n); i++)
7template<
typename T>
bool chmax(T& a, T b) {
return a<b ? a=b,
true :
false; }
8template<
typename T>
bool chmin(T& a, T b) {
return a>b ? a=b,
true :
false; }
9using ll=
long long;
const int INF=1e9+10;
const ll
INFL=4e18;
10using VI=vector<
int>;
using VVI=vector<VI>;
using VL=vector<ll>;
using VVL=vector<VL>;
11using PL=pair<ll,ll>;
using VP=vector<PL>;
using WG=vector<vector<pair<
int,ll>>>;