SHARE
TWEET

Untitled

a guest Mar 18th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bool F(int[] a)
  2. {
  3.     int n = a.Length;
  4.     Array.Sort(a);
  5.     for (int i = 0; i < n - 1; i++)
  6.         if (a[i] == a[i + 1])
  7.             return false;
  8.     return true;
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top