DICCENUM: need help why test case fail

Not sure why the code is giving fail test cases. Can someone help to find which test case will cause it to fail.

https://www.codechef.com/viewsolution/1035580925

@adamjamal
here , refer my c++ code for better understanding of the logic

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

int main() {
	// your code goes here
	int t;
	cin>>t;
	while(t--)
	{
	    int a[3],b[3];
	    for(int i=0;i<3;i++)
	    {
	        cin>>a[i];
	    }
	    for(int i=0;i<3;i++)
	    {
	        cin>>b[i];
	    }
	    sort(a,a+3);
	    sort(b,b+3);
	    string ans="Tie";
	    for(int i=2;i>=0;i--)
	    {
	        if(a[i]>b[i]){
	            ans="Alice";
	            break;
	        }
	        else if(b[i]>a[i])
	        {
	            ans="Bob";
	            break;
	        }
	    }
	    cout<<ans<<endl;
	}
	return 0;
}