Ad
  • Default User Avatar

    Just wondering but:
    When I inserted this answer
    into my editor, it came back in error.

    I had to add #include<bit/stdc++.h> for 'count' to work.

    I was wondering why the absence of include didn't effect this answer.

    I am relatively new to C++ as most of my coding experience is in Java.