Can some help me find the error (MAXFUN february challenge 2021 division 3)

#include<bits/stdc++.h>
#define size 100000
using namespace std;
int main()
{
int n,t,i,ax,str,ay,az,tot,max1,max2,sml;
0<t<6;
2<n<10^5;
cin>>t;
int a[size];
while(t–)
{
ax=0;ay=0;az=100000000;tot=0;max1=0;max2=0;sml=0;
cin>>n;
for(i=0;i<n;i++)
{
cin>>a[i];
}
sort(a,a+n);
ax=a[0];
ay=a[1];
az=a[n-1];
// cout<<ax<<"\t"<<ay<<"\t"<<az<<endl;
if(ax-ay<0)
max1=-(ax-ay);
else
max1=(ax-ay);
if(ay-az<0)
max2=-(ay-az);
else
max2=(ay-az);
if(az-ax<0)
sml=-(az-ax);
else
sml=(az-ax);
tot=max1+max2+sml;
cout<<tot<<endl;
}
}

In the while loop it should be (t - -) instead of (t-) i.e., decrement operator not the subtraction operator.

sorry it was an error while copying the code. Can you spot any other error??