Untitled
unknown
plain_text
2 years ago
225 B
6
Indexable
struct Card {
int x = 0, y = 0, type = 0;
};
vector<Card>cards;
vector<int> list{ 1918, 1920, 1922, 1924 };
int select = list[rand() % list.size()];
int count = std::count(cards.begin(), cards.end(), select);
Editor is loading...