Help me in solving AOCC20 problem

My issue

My code

// Update the code below to solve the problem

#include <bits/stdc++.h>
using namespace std;

int main() 
{
	int t;
    cin >> t;
	
	while(t--)
	{
	    int N;
	    cin >> N;
	    int A[N], B[N];
	    for(int i=0; i < N; i++)
	    {
	        cin >> A[i];  
	    }
	    for(int i=0; i < N; i++)
	    {
	        cin >> B[i];  
	    }
	    
	    
	}
}

Learning course: Solve Programming problems using C++
Problem Link: CodeChef: Practical coding for everyone

@ujwalgulhane31
U have to maintain the track of the absolute difference between the adjacent elements of A and also need to compare it with B so to count for the actual number of students that are able to finish their cooking.