F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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;}
                           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-02 12:26:34, Gzip enabled