Why It's not passing the test cases?

hello @vanshikasharma1645
image

declare this as
int a[n]; // because we want n size array