Guest User

Untitled

a guest
Jan 22nd, 2018
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. #include <iostream>
  2. #include <sstream>
  3. #include <string>
  4. #include <vector>
  5. #include <stack>
  6. #include <queue>
  7. #include <deque>
  8. #include <set>
  9. #include <map>
  10. #include <algorithm>
  11. #include <functional>
  12. #include <numeric>
  13. #include <utility>
  14. #include <cstdio>
  15. #include <cstdlib>
  16. #include <cstring>
  17. #include <cmath>
  18. #include <complex>
  19. using namespace std;
  20.  
  21. typedef long long ll;
  22. typedef pair<int,int> P;
  23.  
  24. #define all(c) (c).begin(),(c).end()
  25. #define pb push_back
  26. #define mp make_pair
  27. #define ERASE(v,i) (v).erase(remove(all(v),i),(v).end())
  28. #define rep(i,n) for(int i=0;i<(int)n;++i)
  29. #define each(it,c) for(typeof((c).begin()) it=(c).begin();it!=(c).end();++it)
  30. #define debug(x) cerr<<#x<<" = "<<(x)<<endl;
  31. #define LINE cerr<<"LINE: "<<__LINE__<<endl;
  32.  
  33. inline int toInt(string s){int v;istringstream sin(s);sin>>v;return v;}
  34. template<class T> inline string toString(T x){ostringstream sout;sout<<x;return sout.str();}
  35. template<class T> void preview(T a,T b){for(T it=a;it!=b;++it)cerr<<*it<<" ";cerr<<endl;}
  36.  
  37. const int INF = 100000000;
  38. const double PI = acos(-1.0), EPS = 1e-10;
  39.  
  40. struct $CLASSNAME$ {
  41. $RC$ $METHODNAME$($METHODPARMS$) {
  42.  
  43. }
  44.  
  45. $TESTCODE$
  46. };
  47.  
  48. // BEGIN CUT HERE
  49. int main() {
  50. $CLASSNAME$ ___test;
  51. ___test.run_test(-1);
  52.  
  53. return 0;
  54. }
  55. // END CUT HERE
Add Comment
Please, Sign In to add comment