Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2021
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     int n = 2e5, q = 2e5;
  7.     cout << n << " " << q << "\n";
  8.     int v[n] = {0};
  9.     for (int i = 0; i < n; i++)
  10.     {
  11.         v[i] = n - i;
  12.         cout << v[i] << " ";
  13.     }
  14.     cout << "\n";
  15.     while (q--)
  16.     {
  17.         int a = 1, b = n;
  18.         cout << a << " " << b << "\n";
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement