• + 1 comment

    I dont understand one thing:

    unordered_set sould contain no duplicated elements, so count would return 0 or 1.... How to overcome this issue?

    http://www.cplusplus.com/reference/unordered_set/unordered_set/count/