diff options
author | Anthony Wang | 2021-01-19 21:12:55 -0600 |
---|---|---|
committer | Anthony Wang | 2021-01-19 21:12:55 -0600 |
commit | 63877b87b1df3ee8506f8b35579a9da2c96eef22 (patch) | |
tree | 2f7c8fe703234aa852418146600a0683e2e3457f | |
parent | 2ec8c3abbeaaee3b34e5c2de3ba565a68c579917 (diff) |
Update templates
-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); } |