SHARE
TWEET

is_same_arr

KuriGohanAndKamehaX2 Nov 22nd, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bool is_same_arr(int* a, int* b, int n)
  2. {
  3.     bool t = true;
  4.  
  5.     for (int i = 0; i < n; i++)
  6.         t &= a[i] == b[i];
  7.    
  8.     return t;
  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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top