这样能AC吗
#include<bits/stdc++.h>
#define int long long
#define INF LLONG_MAX
#define _INF LLONG_MIN
#define ios ios::sync_with_stdio(0),cout.tie(0),cin.tie(0);
using namespace std;
bool cmp(string x,string y){
return x<y;
}
const int N=0;
signed main(){
ios
string s[53];
int n;
cin>>n;
for(int i=1;i<=n;i++)cin>>s[i];
int res=52-n;
sort(s+1,s+n+1,cmp);
for(int i=2;i<=n;i++){
if(s[i]==s[i-1])res++;
}
cout<<res;
return 0;
}