Advertisement
Guest User

Untitled

a guest
Nov 15th, 2020
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.53 KB | None | 0 0
  1. #include "bits/stdc++.h"
  2. using namespace std;
  3.  
  4. using ld = long double;
  5. using ll = long long;
  6.  
  7. #define F first
  8. #define S second
  9. #define s(x) set<x>
  10. #define um(x, y) unordered_map<x, y>
  11. #define m(x, y) map<x, y>
  12. #define p(x, y) pair<x, y>
  13. #define v(x) vector<x>
  14. #define min_heap(t) priority_queue<t, vector<t>, greater<t>>
  15. #define max_heap(t) priority_queue<t>
  16.  
  17. #define eb emplace_back
  18. #define mp make_pair
  19. #define pb push_back
  20. #define bs binary_search
  21. #define lb lower_bound
  22. #define ub upper_bound
  23.  
  24. #define all(v) v.begin(), v.end()
  25. #define ss(v) stable_sort(all(v))
  26. #define fori(i, a, b) for (int i = a; i <= b; i++)
  27. #define rofi(i, a, b) for (int i = a; i >= b; --i)
  28. #define R(x) reverse(all(x));
  29.  
  30. const char nl = '\n';
  31. const char sp = ' ';
  32. const int mod1 = 1e9 + 7;
  33. const int mod2 = 998244353;
  34. const ld PI = acos(-1);
  35.  
  36. #define fastio ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
  37. #define stprs(x) cout << fixed << setprecision(x);
  38.  
  39.  
  40. class A {
  41. public:
  42.    
  43.     A() {
  44.         for(int i = 1; i <= 2; ++i) {
  45.             char output[8] = "output_";
  46.             output[7] = i + '0';
  47.             char input[7] = "input_";
  48.             input[6] = i + '0';
  49.             freopen(input,"r",stdin);
  50.             freopen(output,"w",stdout);
  51.             test_case();
  52.         }
  53.     }
  54.  
  55.     void test_case() {
  56.         int t = 1;
  57.         // cin >> t;
  58.         while (t--) {
  59.             solve();
  60.         }
  61.     }
  62.  
  63.     void solve() {
  64.        
  65.     }
  66. };
  67.  
  68. int32_t main() {
  69.     fastio;
  70.     A a;
  71.     return 0;
  72. }
  73.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement