Guest User

Untitled

a guest
Apr 21st, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.65 KB | None | 0 0
  1. #include <vector>
  2. #include <list>
  3. #include <map>
  4. #include <set>
  5. #include <deque>
  6. #include <stack>
  7. #include <bitset>
  8. #include <algorithm>
  9. #include <functional>
  10. #include <numeric>
  11. #include <utility>
  12. #include <sstream>
  13. #include <iostream>
  14. #include <iomanip>
  15. #include <cstdio>
  16. #include <cmath>
  17. #include <cstdlib>
  18. #include <ctime>
  19. #include <queue>
  20. #include <string>
  21.  
  22. using namespace std;
  23.  
  24. #define FOR(i,a,b)      for(int (i)=(a);(i)<(b);(i)++)
  25. #define PB              push_back
  26. #define INF             INT_MAX
  27. #define DEBUG(___x)     cout<<#___x<<" = ["<<___x<<"]"<<endl
  28. #define SORT(___a)      sort(___a.begin(),___a.end())
  29. #define RSORT(___a)     sort(___a.rbegin(),___a.rend())
  30. #define PI              3.141592653589793238
  31. #define MP              make_pair
  32. #define PII             pair<int,int>
  33. #define ALL(___v)       (___v).begin(), (___v).end()
  34. #define VS              vector<string>
  35. #define VI              vector<int>
  36. #define S               size()
  37. #define B               begin()
  38. #define E               end()
  39. #define print(___v)     {cout<<"[";if(___v.S)cout<<___v[0];FOR(___i,1,___v.S)cout<<","<<___v[___i];cout<<"]\n";}
  40. #define clr(___x, ___v) memset(___x, ___v , sizeof ___x);
  41.  
  42. typedef long long                   bint;
  43. typedef map< string,int >           msi;
  44. typedef map< string,int >::iterator msit;
  45. typedef map< VI ,int >              mvi;
  46. typedef map< VI ,int >::iterator    mvit;
  47. template<typename T> string tos( T a )  { stringstream ss; string ret; ss << a; ss >> ret; return ret;}
  48.  
  49. class <%:class-name%> {
  50. public:
  51.     <%:return-type%> <%:method-name%>(<%:param-type-list%>);
  52. };
  53.  
  54. <%:return-type%> <%:class-name%>::<%:method-name%>(<%:param-list%>) {
  55.     <%:set-caret%>
  56. }
  57.  
  58. <%:testing-code%>
Add Comment
Please, Sign In to add comment