SHARE
TWEET

Untitled

mfgnik Jun 30th, 2020 1,060 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int Height(const std::string& man, const std::unordered_map<std::string, std::string>& p_tree) {
  2.     if (!p_tree.count(man)) {
  3.         return 0;
  4.     }
  5.     return 1 + Height(p_tree.at(man), p_tree);
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top