Test case failure

2 out of 5 test cases are failing

Hey @vector.9974
Fialing for test cases like 99 ,919 ,i.e with multiple 9’s and having first digit as 9


    for ( long long int i = 0; i<count; i++)
    {
        if( a[i] >= 5)
        {
            if( i==0 && a[i] == 9) //updated this condition
            {
                continue;
            }
            else
            {
               a[i] = 9-a[i];
            }
        }        
        else
        {
            continue;
        }
    }

If this resolves your query then please mark it as resolved :slight_smile: