A test case fails which test case I miss
#include
#include
using namespace std;
int main() {
char a[1000];
cin.getline(a,1000);
int freq[26]={0};
for(int i=0;a[i]!=β\0β;i++){
freq[a[i]-βaβ]++;
}
for(int i=0;i<26;i++){
// ch
char x=i+'a';
if (freq[i]>0){
if(freq[i]>1){
cout<<x<<freq[i];
}
else{
cout<<x;
}
}
}
return 0;
}