1 solutions

  • 1
    @ 2026-9-27 15:48:52

    包对!

    #include<bits/stdc++.h>
    using namespace std;
    int n;
    int main(){
    	freopen("poker.in","r",stdin);
    	freopen("poker.out","w",stdout);
    	cin>>n;
    	set<string> p;
    	for(int i=1;i<=n;i++){
    		string x;
    		cin>>x;
    		p.insert(x);
    	}
    	cout<<52-p.size();
    	return 0;
    }
    

    Information

    ID
    2600
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    10
    Tags
    # Submissions
    5
    Accepted
    1
    Uploaded By