Từ Trường THPT Gia Định, TP.HCM
Thông tin
#include <bits/stdc++.h> using namespace std; using ll = long long; template<class T> using vec = vector<T>; template<class T> using p2 = pair<T, T>; auto _ = (ios::sync_with_stdio(0), cin.tie(0)); struct { void operator=(const string& s) { if (fopen((s+".INP").c_str(), "r")) freopen((s+".INP").c_str(), "w", stdin); freopen((s+".OUT").c_str(), "w", stdout); }} file; #define dbg(x) cerr << #x << " = " << (x) << '\n'; #define all(x) (x).begin(), (x).end() #define sz(x) (int)(x).size() #define pb push_back #define fi first #define se second int main() { }