Hi everyone being a programmer in python i have done machine learning and some parts of django...and now i am more focusing on competitive programming..I do C.P. in python but we know that C++ is fast and is a best option for C.P. so plss help me how should I try to learn C++ quickly and efficiently...Thanks in advance
Dima
there’s no way to learn cxx quickly
Dima
but if you do, you’ll suffer in your own code swamp
i browsed through the code for nearly two minutes
- does this really allocate a dynamic node for each append?
- append seems not to be exception safe
If you cannot answer the question in a simple sentence i doubt the will be one...
BinaryByter
btw: how the fuck are templates in a c++ file going to work?
BinaryByter
like
sandeep mishra
yes, it allocates a dynamic node for each append
olli
I bet std::vector<std:unique_ptr<T>> would be more efficient