Help me in solving AOCP02 problem

My output and code is right but still the AI shows it wrong

My code

// Update the '_' in the code below to solve the problem

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int t;
    scanf("%d", &t);

    while (t--)
    {
        int N;
        scanf("%d", &N);

        int A[N];
        for (int i = 0; i < N; i++)
        {
            A[i] = i + 1;
        }

        // print the array A
        for (int i = 0; i < N; i++)
        {
            printf("%d", A[i]);
        }
        printf("\n");

        // sort the array A in descending order
        for (int i = 0; i < N - 1; i++)
        {
            for (int j = i + 1; j < N; j++)
            {
                if (A[i] < A[j])
                {
                    int temp = A[i];
                    A[i] = A[j];
                    A[j] = temp;
                }
            }
        }

        // print the array A sorted in descending order
        for (int i = 0; i < N; i++)
        {
            printf("%d", A[i]);
        }
        printf("\n");
    }

    return 0;
}

Learning course: C for problem solving - 2
Problem Link: CodeChef: Practical coding for everyone

When you are printing array in descending order just give a space after each print.
Your code : printf(ā€œ%dā€, A[i]);
Correct code : printf("%d ",A[i]);
Just give a space after %d.
Hope it helps:)