Advertisement
Guest User

Untitled

a guest
Dec 1st, 2015
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. //! Bismillahi-Rahamanirahim.
  2. ///
  3.  
  4. /** ========================================**
  5. ** @Author: A Asif Khan Chowdhury
  6. /** ========================================**/
  7.  
  8.  
  9. /**................ Headers ................**/
  10. #include <bits/stdc++.h>
  11.  
  12. using namespace std;
  13.  
  14. /**................ Macros ................**/
  15. #define Set(N, j) (N|(1<<j))
  16. #define reset(N, j) (N&~(1<<j))
  17. #define Check(N, j) (bool)(N&(1<<j))
  18. #define toggle(N, j) (N^(1<<j))
  19. #define turnOff(N, j) (N & ~(1<<j))
  20. #define CLEAR(A, x) ( memset(A,x,sizeof(A)) )
  21. #define pi 3.141592653589793
  22. #define pii pair <int, int>
  23. #define pb push_back
  24. #define pf printf
  25. #define S(x) scanf("%d", &x)
  26. #define SL(x) scanf("%ld", &x)
  27. #define out(C) printf("Case %d: ", C);
  28. #define FOR(i, x, y) for(int i=x; i<=y; i++)
  29. #define open freopen("D:/a.txt", "r", stdin);
  30. #define write freopen("D:/a.txt","w", stdout);
  31. #define MAX (1+(1<<5))
  32. #define inf 0x7fffffff
  33. #define ll long long
  34. #define mod 1000000007
  35. #define gc getchar
  36. #define ls(n) (n<<1)
  37. #define rs(n) ls(n)|1
  38. #define MID(a,b) ((a+b)>>1)
  39. #define mx 100010
  40.  
  41. //Fast Reader
  42. template<class T>inline bool read(T &x) {
  43. int c=getchar();
  44. int sgn=1;
  45. while(~c&&c<'0'||c>'9') {
  46. if(c=='-')sgn=-1;
  47. c=getchar();
  48. }
  49. for(x=0; ~c&&'0'<=c&&c<='9'; c=getchar())x=x*10+c-'0';
  50. x*=sgn;
  51. return ~c;
  52. }
  53. int X[]= {-1, -1, -1, 0, 1, 1, 1, 0}; //x 8 direction
  54. int Y[]= {-1, 0, +1, 1, 1, 0, -1, -1}; //y 8 direction
  55. // int X[]= {-1, 0, 1, 0}; //x 4 direction
  56. // int Y[]= { 0, 1, 0, -1}; //y 4 direction
  57.  
  58. string t="_^";
  59.  
  60. int main() {
  61. #ifdef LOCAL
  62. // open
  63. write
  64. #endif // LOCAL
  65. srand(time(NULL));
  66. cout<<(rand())%10+1<<endl;
  67. return 0;
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement