Advertisement
Guest User

C++ Template- ArtyKing

a guest
Sep 15th, 2020
134
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. using namespace std;
  3. #define INF 0x3f3f3f3f
  4. #define endl "\n"
  5. #define pb push_back
  6. #define set(a, b) memset(a, b, sizeof(a));
  7. typedef long long ll;
  8. typedef unsigned long long ull;
  9. typedef pair<int, int> pii;
  10. typedef pair<ll, ll> pll;
  11. typedef pair<double, double> pdd;
  12. typedef tuple<int, int, double> tup;
  13.  
  14. bool OJ = true; int cases = -1; //-1: No input cases. 0: Read cases.
  15. const int maxN = 653, mod = 1e9+7;
  16.  
  17. void solve(int caseNum) {
  18.  
  19. }
  20.  
  21. int main(){
  22.     ios_base::sync_with_stdio(false);
  23.     cin.tie(NULL);
  24.     if(!OJ){
  25.         freopen("input.txt", "r", stdin);
  26.         freopen("output.txt", "w", stdout);
  27.     }
  28.     if(cases == -1) {solve(-1); return 0;}
  29.     if(cases == 0) cin >> cases;
  30.     for(int t = 1; t <= cases; t++) solve(t);
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement