diff options
Diffstat (limited to 'Template/usaco.cpp')
-rw-r--r-- | Template/usaco.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Template/usaco.cpp b/Template/usaco.cpp index e550725..f730b4c 100644 --- a/Template/usaco.cpp +++ b/Template/usaco.cpp @@ -23,13 +23,13 @@ template<typename T> using ordered_set = tree<T, null_type, less<T>, rb_tree_tag template<typename T> using ordered_multiset = tree<T, null_type, less_equal<T>, rb_tree_tag, tree_order_statistics_node_update>; // Use with caution constexpr int INF = 1e9; constexpr ll LINF = 1e18; constexpr ll MOD = 1e9+7; constexpr ld PI = 4*atan((ld)1); void io(const str & s) { - if (fopen((s+".in").c_str(), "r")) freopen((s+".in").c_str(), "r", stdin), freopen((s+".out").c_str(), "w", stdout); - ios_base::sync_with_stdio(0), cin.tie(0); + if (fopen((s+".in").c_str(), "r")) freopen((s+".in").c_str(), "r", stdin), freopen((s+".out").c_str(), "w", stdout); + ios_base::sync_with_stdio(0), cin.tie(0); } int main() { - io("name"); + io("name"); - + } |