Chef and glove , why this code not working?

#include <stdio.h>

int main(void)
{
int t;
scanf("%d", &t);
while (t–)
{
int n;
scanf("%d", &n);
int a[2][n];
int same = 1;
int bigger = 1;
int back = 1;

    for (int i = 0; i < 2; i++)
    {
        for (int j = 0; j < n; j++)
        {
            scanf("%d", &a[i][j]);
        }
    }

    for (int i = 0; i < n; i++)
    {
        if (a[0][i] != a[1][i])
        {
            same = 0;
        }
        else if (!(a[0][i] <= a[1][i]))
        {
            bigger = 0;
        }
        else if (!(a[0][i] <= a[1][n - 1 - i]))
        {
            back = 0;
        }
    }

    if (same)
    {
        printf("both\n");
    }
    else if (bigger)
    {
        printf("front\n");
    }
    else if (back)
    {
        printf("back\n");
    }
    else
    {
        printf("none\n");
    }
}
return 0;

}

Use while(t–) in place of while (t-)

it is t–;