dynamic memory allocation in case of arrays

Hi, does codechef allows dynamic memory allocation of arrays ? I’m new to it , so please anyone help.

If you are talking about C++, you can use STL Vectors for dynamically resizeable “arrays”.

1 Like

Yes. it is allowed:)

1 Like
//