This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
#define INF INT_MAX | |
#define INFLL LONG_LONG_MAX | |
#define F first | |
#define S second | |
#define pb push_back | |
#define all(a) a.begin(),a.end() | |
#define rep(i,a,b) for(auto i=(a); i<(b); i++) | |
#define dec(i,n,a) for(auto i=(n); i>=(a); i--) |