USACO Jan 2017 Platinum - Promotion Counting
Author: Benjamin Qi
Merging Indexed Sets
#include <bits/stdc++.h>#include <ext/pb_ds/tree_policy.hpp>#include <ext/pb_ds/assoc_container.hpp>using namespace std;using namespace __gnu_pbds;template<class T> using Tree = tree<T,null_type,less<T>,rb_tree_tag,tree_order_statistics_node_update>;const int MX = 1e5+5;
This section is not complete.
Feel free to file a request to complete this using the "Contact Us" button.
similar sol w/o indexed set