Simplified version of my template

Revision en1, by _MyAngelGasai, 2025-01-11 10:11:14

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();
}

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English _MyAngelGasai 2025-01-11 10:11:14 502 Initial revision (published)