Guest User

Untitled

a guest
May 31st, 2021
44
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void generate()
  2. {
  3.   int n = 200'000;
  4.  cout << n << "\n";
  5.  for (int i = 0; i < n; i++)
  6.  {
  7.    if (i % 2 == 0)
  8.      cout << 1 << " ";
  9.    else
  10.      cout << -1'000'000'000 << " ";
  11.   }
  12. }
  13.  
RAW Paste Data