You are given 3 different array A,B and C of same size N. Find number of index i such that:
where k can lie between [1,N].
The first line of the input contains an integer T, denoting number of test cases. The first line of each test case contains an integer N denoting the size of the array. The next 3 line of the contains N space separated integers each, of the array A, B and C respectively.
For each test case, print the count of number of such index which satisfies the given condition.
1 2 3
3 2 4
0 5 -2
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.