Changes
3 changed files (+10/-10)
-
-
@@ -6,8 +6,8 @@ using ll = long long;using ii = pair<int, int>; int main() { if (fopen("in", "r")) freopen("in", "r", stdin), freopen("out", "w", stdout); ios_base::sync_with_stdio(0), cin.tie(0); if (fopen("in", "r")) freopen("in", "r", stdin), freopen("out", "w", stdout); ios_base::sync_with_stdio(0), cin.tie(0); }
-
-
-
@@ -24,8 +24,8 @@ template<typename T> using ordered_multiset = tree<T, null_type, less_equal<T>,constexpr int INF = 1e9; constexpr ll LINF = 1e18; constexpr ll MOD = 1e9+7; constexpr ld PI = 4*atan((ld)1); int main() { if (fopen("in", "r")) freopen("in", "r", stdin), freopen("out", "w", stdout); ios_base::sync_with_stdio(0), cin.tie(0); if (fopen("in", "r")) freopen("in", "r", stdin), freopen("out", "w", stdout); ios_base::sync_with_stdio(0), cin.tie(0); }
-
-
-
@@ -23,13 +23,13 @@ template<typename T> using ordered_set = tree<T, null_type, less<T>, rb_tree_tagtemplate<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"); }
-