STL vs Standard Array

For USACO, which array would you recommend using? I think STL is better because you can pass it into functions, but I see many USACO Platinum contestants use the standard array. Which one should I use? Thanks!

Do you mean a vector vs an array? If that is the case, then Iā€™d say to use a vector because it has more built-in functions as well as the feature to add and remove elements :smiley:.

1 Like

Yeah, that was what I was talking about. Thanks for your help!

Yea but if you get good enough, C-style arrays are heavily underrated. :smiley: