what’s wrong in the code since the test isnt passing . i think the code works fine
Test case not passing
The first line contains N , then N integers follow each denoting the number of the car.
you forgot to input n
do i have to form an array of size N and take input
no just take n input and run a loop from o to n and for each case take the subsequent inputs and print ans