所以这题用set刑不刑
查看原帖
所以这题用set刑不刑
915481
ComeTheWay楼主2024/10/26 16:22

RT。

#include <bits/stdc++.h>
using namespace std;
set<string> a;
int n;
int main(){
	cin >> n;
	while (n--){
		string temp;
		cin >> temp;
		a.insert(temp);
	}
	cout << 52 - a.size();
	return 0;
}
2024/10/26 16:22
加载中...