Why is this code not getting accepted for Mixtures

#include
using namespace std;
#define ll long long
ll int compute(ll int arr,ll int i,ll int n)
{
if(i==n-2)
{
return arr[i]arr[i+1];
}
ll int a=arr[i];
ll int b=arr[i+1];
ll int answer=min(a
b,a
compute(arr,i+1,n));
if(answer=a*b)
{
a=(a+b)%100;
b=a;
}
return answer;
}
int main()
{
ll int n;
cin>>n;
ll int arr[n];
for(ll int i=0;i<n;i++)
{
cin>>arr[i];
}
if(n==1)
{
cout<<arr[0];
}
else
cout<<compute(arr,0,n);
return 0;
}

@praritv1
Please send your code on CB IDE

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.