Kyopro Library
 
読み取り中…
検索中…
一致する文字列を見つけられません
template.hpp
[詳解]
1#pragma once
2#include <bits/stdc++.h>
3using namespace std;
4#define ALL(x) (x).begin(), (x).end()
5#define REP(i, n) for(ll i=0; i<(ll)(n); i++)
6
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>>>;
12
13#ifdef LOCAL
14#include "./debug.hpp"
15#else
16#define debug(...)
17#define print_line
18#endif
const int INF
Definition template.hpp:9
const ll INFL
Definition template.hpp:9
bool chmax(T &a, T b)
Definition template.hpp:7
bool chmin(T &a, T b)
Definition template.hpp:8