diff options
-rw-r--r-- | Template/basic.cpp | 2 | ||||
-rw-r--r-- | 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); } |