Vector 04 - car sorting

Why my output is coming like this??

@a19JE0093
hello Akshat,
u have declared a vector of size n. so u should use indexing inplace of push_back to store ur values,

image