My real template is about 100 lines lol
#include <bits/stdc++.h>
#define ll long long
#define pb push_back
using namespace std;
void fl(){
if (fopen("IN.inp", "r")){
freopen("IN.inp", "r", stdin);
freopen("OUT.out", "w", stdout);
}
}
void boost(){
ios_base::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
}
const ll N = 1e5 + 5;
const ll mod = 1e9 + 7;
void ans(){
}
int main(){
fl();
boost();
ans();
}
Testing
auto
function in Dev-C++