aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Template/basic.cpp1
-rw-r--r--Template/template.cpp1
-rw-r--r--Template/usaco.cpp1
3 files changed, 3 insertions, 0 deletions
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<int, int>;
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");