From 63877b87b1df3ee8506f8b35579a9da2c96eef22 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Tue, 19 Jan 2021 21:12:55 -0600 Subject: Update templates --- Template/basic.cpp | 2 +- Template/template.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Template/basic.cpp b/Template/basic.cpp index 71201ad..03531c4 100644 --- a/Template/basic.cpp +++ b/Template/basic.cpp @@ -8,7 +8,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); + cin.tie(0)->sync_with_stdio(0); } diff --git a/Template/template.cpp b/Template/template.cpp index 7bb7acf..e4140c3 100644 --- a/Template/template.cpp +++ b/Template/template.cpp @@ -30,7 +30,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); + cin.tie(0)->sync_with_stdio(0); } -- cgit v1.2.3-70-g09d2