Alex_tz307

DIVERSE

Aug 16th, 2021
900
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.75 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. #include <ext/pb_ds/assoc_container.hpp>
  3. #include <ext/pb_ds/tree_policy.hpp>
  4. #pragma GCC optimize("Ofast,unroll-loops")
  5. #pragma GCC target("avx,avx2,fma")
  6. #define PI 3.141592653589793
  7.  
  8. using namespace std;
  9. using namespace __gnu_pbds;
  10.  
  11. typedef tree<int,null_type,less<int>,rb_tree_tag,tree_order_statistics_node_update> ordered_set;
  12.  
  13. const int di[] = {-1, 0, 1, 0},
  14.           dj[] = {0, 1, 0, -1};
  15.  
  16. /* const int di[] = {-1, 0, 1, 0, -1, -1, 1, 1},
  17.           dj[] = {0, 1, 0, -1, -1, 1, -1, 1}; */
  18.  
  19. /* const int di[] = {2, 1, -1, -2, -2, -1, 1, 2},
  20.       dj[] = {1, 2, 2, 1,-1, -2, -2, -1}; - Cal(Horse) */
  21.  
  22. int luna[] = {-1, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; /// Month
  23.  
  24. int main() {
  25.  
  26.   return 0;
  27. }
  28.  
Advertisement
Add Comment
Please, Sign In to add comment