i am getting wa
#include
#include
#define ll long long int
using namespace std;
int main(){
ll t;
cin>>t;
string p;
getline(cin,p);
while(t–){
string s;
getline(cin,s);
stringstream ss(s);
string w;
ll plen=0,len=0,ct=0,best=0;
while(ss>>w){
len=w.size();
if(plen==len){
ct++;
}
else{
ct=1;
plen=len;
}
if(best<ct)best=ct;
}
cout<<best<<"\n";
}
}