Tranvick

Untitled

Jan 24th, 2012
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.20 KB | None | 0 0
  1. #pragma comment(linker, "/STACK:65777216")
  2. #include <iostream>
  3. #include <iomanip>
  4. #include <cstdlib>
  5. #include <ctime>
  6. #include <cstdio>
  7. #include <algorithm>
  8. #include <cmath>
  9. #include <vector>
  10. #include <set>
  11. #include <stack>
  12. #include <map>
  13. #include <queue>
  14. #include <string>
  15. #include <memory.h>
  16. #include <iterator>
  17. #define mem(A,X) memset(A,X,sizeof(A))
  18. #define memo(A) memset(A,0,sizeof(A))
  19. #define forn(I,B) for (int I=1;I<=(B);I++)
  20. #define forg(H,V) for (int H=first[V];h;h=next[H])
  21. #define rep(I,B) for (int I=0;I<(B);I++)
  22. #define labs(X) (((X)>0)?(X):(-(X)))
  23. #define ropen(X) freopen(X,"r",stdin)
  24. #define wopen(X) freopen(X,"w",stdout)
  25. #define rwopen(X) freopen(X".in","r",stdin);freopen(X".out","w",stdout)
  26. #define pb push_back
  27. #define mp make_pair
  28. #define all(X) (X).begin(),(X).end()
  29. #define sqr(X) ((X)*(X))
  30.  
  31. using namespace std;
  32.  
  33. typedef pair <int,int> pii;
  34. typedef pair <long long,long long> pll;
  35. typedef double ld;
  36. typedef long long ll;
  37. typedef vector<int> vi;
  38. const int N=111111;
  39. const int INF=111111111;
  40. const double eps=1e-9;
  41. const double pi=3.14159265358979;
  42.  
  43. int primes[]={0, 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47},c[16];
  44. ll n;
  45.  
  46. void rec(ll cur)
Advertisement
Add Comment
Please, Sign In to add comment