0_0_29269724_14060.cpp: In function 'int main()':
0_0_29269724_14060.cpp:8:27: error: expected '}' at end of input
int main(){ int T,cas=1; //scanf("%d",&T); while(scanf("%s%s",s,ss)!=EOF) { s1=s;s2=ss; int l1=s1.length(); int l2=s2.length(); if(s1==s2) puts("Equal"); else { if(l1!=l2) puts("No"); else if(s1[0]==s2[0]&&s1[l1-1]==s2[l2-1]) { sort(s1.begin(),s1.end()); sort(s2.begin(),s2.end()); if(s1==s2) puts("Yes"); else puts("No"); } else puts("No"); } } return 0;}
^
|