hi , i tried to resolve the problem , and this is my code
#include <stdio.h>
#include <stdlib.h>
int main() {
int t;
int n;
scanf("%d",&t);
while (t--){
int nb_cars = 0;
int tmp;
int low_vit=100000;
scanf("%d",&n);
int i;
for(i=0;i<n;i++) {
scanf("%d",&tmp);
if(tmp<=low_vit) {
nb_cars++;
low_vit = tmp;
}
}
printf("%d\n",nb_cars);
}
return 0;
}
so what’s the problem , thanks