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_32008542_12160.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_32008542_12160.cpp:6:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_32008542_12160.cpp:8:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_32008542_12160.cpp: In member function 'bool Ti::operator<(const Ti&) const':
0_0_32008542_12160.cpp:30:1: error: expected ';' before 'return'
 return this->e
 ^
0_0_32008542_12160.cpp: In function 'int main()':
0_0_32008542_12160.cpp:60:21: error: expected ';' before '{' token
 for(int i=0;i       {           scanf("%d%d",&s,&e);           t1[i].s=s;           t1[i].e=e;       }       stable_sort(&t1[0],&t1[n]);//按照节目时间由短到长排列       t2[0]=t1[0];//因为第一个是必须看的;       //cout<<"t1[0].s="<<t1[0].s<<""<<"t1[0].e="<<t1[0].e<<endl;       for(int i=1;i       {           if(t1[i].s>=t2[d-1].e)           {               //cout<<"t2[d-1].s="<<t2[d-1].s<<""<<"t2[d-1].e="<<t2[d-1].e<<endl;               t2[d++]=t1[i];               ans++;           }           //cout<<"t1[i].s="<<t1[i].s<<""<<"t1[i].e="<<t1[i].e<<endl;       }       printf("%d\n",ans);    }}
                     ^
0_0_32008542_12160.cpp:60:21: error: expected primary-expression before '{' token
0_0_32008542_12160.cpp:60:21: error: expected ')' before '{' token
0_0_32008542_12160.cpp:60:136: error: expected '}' at end of input
 for(int i=0;i       {           scanf("%d%d",&s,&e);           t1[i].s=s;           t1[i].e=e;       }       stable_sort(&t1[0],&t1[n]);//按照节目时间由短到长排列       t2[0]=t1[0];//因为第一个是必须看的;       //cout<<"t1[0].s="<<t1[0].s<<""<<"t1[0].e="<<t1[0].e<<endl;       for(int i=1;i       {           if(t1[i].s>=t2[d-1].e)           {               //cout<<"t2[d-1].s="<<t2[d-1].s<<""<<"t2[d-1].e="<<t2[d-1].e<<endl;               t2[d++]=t1[i];               ans++;           }           //cout<<"t1[i].s="<<t1[i].s<<""<<"t1[i].e="<<t1[i].e<<endl;       }       printf("%d\n",ans);    }}
                                                                                                                                        ^
0_0_32008542_12160.cpp:60:136: error: expected '}' at end of input


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-11-22 21:23:50, Gzip enabled