There are 22100 combinations of 3 cards from the 52 cards deck (52 * 51 * 50 / 3! = 22100).
Here is an enumeration of all these combinations:
    static const ins cards_count = 52;
    int boardId = 0;
    for (int b1 = 0; b1 < card_count; b1++)
    { 
        for (int b2 = b1 + 1; b2 < card_count; b2++)
        {
            for (int b3 = b2 + 1; b3 < card_count; b3++)
            {
               cout << boardId << endl;
               boardId++;
            }
        }
    }
Is it posssible to write an indexer fucntion that converts b1, b2, b3 to the boardId (without using a map)? If this is hard maybe you can advise some hash fucntion that maps b1, b2, b3 to the int size hash.