My solutions in C++