Guest User

Untitled

a guest
Oct 17th, 2015
481
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. using ull = unsigned long long;
  5. ull id_cnv(ull id)
  6. {
  7.     return ((1ULL << 56) | (1ULL << 52) | (1ULL << 32) | id);
  8. }
  9.  
  10.  
  11. int main(int argc, char **argv)
  12. {
  13.     cout << id_cnv(229879789) << endl;
  14.     cout << 76561198190145517 << endl;
  15.  
  16.     system("pause");
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment