Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.93 KB | None | 0 0
  1. #include "testlib.h"
  2. #include <algorithm>
  3. #include <cassert>
  4. #include <cmath>
  5. #include <deque>
  6. #include <iomanip>
  7. #include <iostream>
  8. #include <map>
  9. #include <queue>
  10. #include <set>
  11. #include <string>
  12. #include <time.h>
  13. #include <vector>
  14.  
  15. using namespace std;
  16.  
  17.     const int INF = 1e9 + 228;
  18.  
  19.     const int MAXLEN = 62;
  20.  
  21. vector<int> toBin(long long x)
  22. {
  23.     vector<int> result;
  24.     while (x)
  25.     {
  26.         result.push_back(x % 2);
  27.         x /= 2;
  28.     }
  29.     reverse(result.begin(), result.end());
  30.     return result;
  31. }
  32.  
  33. void solve(int argc, char* argv[])
  34. {
  35.     registerGen(argc, argv, 1);
  36.     vector<int> A, B;
  37.  
  38.     long long a, b;
  39.     a = rnd.next(0LL, (long long) 1e9);
  40.     b = rnd.next(0LL, (long long) 1e9);
  41.     cout << a << " " << b << endl;
  42. }
  43.  
  44. int main(int argc, char* argv[])
  45. {
  46. #ifdef _DEBUG
  47.     freopen("input.txt", "r", stdin);
  48.     //freopen("output.txt", "w", stdout);
  49. #endif
  50.     //srand(time(NULL));
  51.  
  52.     solve(argc, argv);
  53.  
  54.     return 0;
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement