Message from C, C++ talks

June 2019

— Buffer overflow?

— No, In a programming competition.

— Changing to array from unordered_map helps.

— OH you want to lower memory usage

— 

std::vector<Key> keys;
keys.reserve(map.size());
std::vector<Val> vals;
vals.reserve(map.size());

for(auto kv : map) {
keys.push_back(kv.first);
vals.push_back(kv.second);
}

?

— Well you can try different stuff but probably you will have to think of Better solution

— No. not like that.

— Https://gist.github.com/harshraj22/9fd31fd7ff166fa0c0035fddfdf248a9

— Look at this to get better idea of what problem I am facing.

— You talk too much

— Hmmm one message per month/per two months is too much, I agree

— Read the article conio.h on Wikipedia

— And yeah graphics.h too

— But why do you want to know history?

— /warn God dayum it I am hungry now, thanks