From 96676ff58ceb149a2f7f0255343651c9fd5481e2 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Sun, 13 Dec 2020 19:48:29 -0600 Subject: Update templates --- Template/basic.cpp | 1 + Template/template.cpp | 1 + Template/usaco.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/Template/basic.cpp b/Template/basic.cpp index 71201ad..2bbd994 100644 --- a/Template/basic.cpp +++ b/Template/basic.cpp @@ -6,6 +6,7 @@ using ll = long long; using ii = pair; constexpr int MX = 1e5+5; + int main() { if (fopen("in", "r")) freopen("in", "r", stdin), freopen("out", "w", stdout); ios_base::sync_with_stdio(0), cin.tie(0); diff --git a/Template/template.cpp b/Template/template.cpp index 7bb7acf..564c6d5 100644 --- a/Template/template.cpp +++ b/Template/template.cpp @@ -28,6 +28,7 @@ constexpr ld PI = 4*atan((ld)1); constexpr ll INF = 1e9, LINF = 1e18, MOD = 1e9+7; constexpr int MX = 1e5+5; + int main() { if (fopen("in", "r")) freopen("in", "r", stdin), freopen("out", "w", stdout); ios_base::sync_with_stdio(0), cin.tie(0); diff --git a/Template/usaco.cpp b/Template/usaco.cpp index 6344553..fa65432 100644 --- a/Template/usaco.cpp +++ b/Template/usaco.cpp @@ -29,6 +29,7 @@ constexpr ld PI = 4*atan((ld)1); constexpr ll INF = 1e9, LINF = 1e18, MOD = 1e9+7; constexpr ll MX = 1e5+5; + int main() { io("name"); -- cgit v1.2.3-70-g09d2