Advertisement
Guest User

Untitled

a guest
May 31st, 2021
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  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.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement