Guest User

Untitled

a guest
Jan 5th, 2021
549
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. #define f first
  4. #define s second
  5. #define pb push_back
  6. #define mp make_pair
  7. typedef long long ll;
  8. typedef pair<int, int> pii;
  9. #include <ext/pb_ds/assoc_container.hpp>
  10. #include <ext/pb_ds/tree_policy.hpp>
  11. using namespace __gnu_pbds;
  12. template<class T> using oset=tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
  13.  
  14. int main(){
  15.  
  16. ios_base::sync_with_stdio(false);
  17. cin.tie(NULL);
  18. cout << 1 << '\n';
  19. cout << '\n';
  20. cout << 66666 << " " << 133330<< '\n';
  21. int cnt = 0;
  22. for(int i = 1; i< 66666;i ++){
  23. cout << i << " " << i+1 << '\n';
  24. cout << i+1 << " " << i << "\n";
  25. cnt += 2;
  26. }
  27. cout << cnt << '\n';
  28. }
  29.  
Advertisement
Add Comment
Please, Sign In to add comment