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_16386094_32173.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16386094_32173.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16386094_32173.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16386094_32173.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16386094_32173.cpp:6:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16386094_32173.cpp: In function 'int set_fightyear()':
0_0_16386094_32173.cpp:24:5: error: expected ';' before 'scanf'
     scanf("%I64d%I64d",&humans[i].s,&humans[i].p);
     ^
0_0_16386094_32173.cpp:24:49: error: 'scanf' was not declared in this scope
     scanf("%I64d%I64d",&humans[i].s,&humans[i].p);
                                                 ^
0_0_16386094_32173.cpp:24:50: error: expected ')' before ';' token
     scanf("%I64d%I64d",&humans[i].s,&humans[i].p);
                                                  ^
0_0_16386094_32173.cpp:26:5: error: expected ';' before 'scanf'
     scanf("%I64d%I64d",&aliens[i].s,&aliens[i].p);
     ^
0_0_16386094_32173.cpp:26:49: error: 'scanf' was not declared in this scope
     scanf("%I64d%I64d",&aliens[i].s,&aliens[i].p);
                                                 ^
0_0_16386094_32173.cpp:26:50: error: expected ')' before ';' token
     scanf("%I64d%I64d",&aliens[i].s,&aliens[i].p);
                                                  ^
0_0_16386094_32173.cpp:28:5: error: expected ';' before 'for'
     for( j=1;j
     ^
0_0_16386094_32173.cpp:28:5: error: expected primary-expression before 'for'
0_0_16386094_32173.cpp:28:5: error: expected ')' before 'for'
0_0_16386094_32173.cpp:29:5: error: expected ';' before '{' token
     {
     ^
0_0_16386094_32173.cpp:29:5: error: expected primary-expression before '{' token
0_0_16386094_32173.cpp:29:5: error: expected ')' before '{' token
0_0_16386094_32173.cpp:30:25: error: 'scanf' was not declared in this scope
         scanf("%I64d",&y);
                         ^
0_0_16386094_32173.cpp:32:9: error: expected ')' before 'k'
         k=aliens[j].s+y*aliens[j].p;
         ^
0_0_16386094_32173.cpp:36:9: error: expected ')' before '{' token
         {
         ^
0_0_16386094_32173.cpp:50:5: error: expected primary-expression before '}' token
     }
     ^
0_0_16386094_32173.cpp:52:5: error: expected ')' before 'else'
     else return 1;
     ^
0_0_16386094_32173.cpp: In function 'long long int find(int)':
0_0_16386094_32173.cpp:58:5: error: expected ';' before 'if'
     if(!vist[map[u][v]])
     ^
0_0_16386094_32173.cpp:58:5: error: expected primary-expression before 'if'
0_0_16386094_32173.cpp:58:5: error: expected ')' before 'if'
0_0_16386094_32173.cpp: In function 'int cmp(Fight, Fight)':
0_0_16386094_32173.cpp:71:1: error: expected ';' before '}' token
 }
 ^
0_0_16386094_32173.cpp: In function 'long long int answear()':
0_0_16386094_32173.cpp:75:32: error: 'sort' was not declared in this scope
     sort(fight+1,fight+1+fn,cmp);
                                ^
0_0_16386094_32173.cpp:79:5: error: expected ';' before 'map'
     map[fight[i].alien][++mk[fight[i].alien]]=fight[i].hum;
     ^
0_0_16386094_32173.cpp:79:59: error: expected ')' before ';' token
     map[fight[i].alien][++mk[fight[i].alien]]=fight[i].hum;
                                                           ^
0_0_16386094_32173.cpp:81:5: error: expected ';' before '{' token
     {
     ^
0_0_16386094_32173.cpp:81:5: error: expected primary-expression before '{' token
0_0_16386094_32173.cpp:81:5: error: expected ')' before '{' token
0_0_16386094_32173.cpp:83:9: error: expected ';' before 'if'
         if(find(i)==0)return -1;//������û��ƥ��ı�ֱ���˳�
         ^
0_0_16386094_32173.cpp:83:9: error: expected primary-expression before 'if'
0_0_16386094_32173.cpp:83:9: error: expected ')' before 'if'
0_0_16386094_32173.cpp:85:15: error: 'i0' was not declared in this scope
     for( i=fn;i0;i--)
               ^
0_0_16386094_32173.cpp:92:9: error: expected ';' before 'flag'
         flag=find(alie);
         ^
0_0_16386094_32173.cpp:92:24: error: expected ')' before ';' token
         flag=find(alie);
                        ^
0_0_16386094_32173.cpp: In function 'int main()':
0_0_16386094_32173.cpp:99:37: error: 'scanf' was not declared in this scope
     while(scanf("%I64d%I64d",&HN,&AN)0&&(HN||AN))
                                     ^
0_0_16386094_32173.cpp:99:38: error: expected ')' before numeric constant
     while(scanf("%I64d%I64d",&HN,&AN)0&&(HN||AN))
                                      ^
0_0_16386094_32173.cpp:99:49: error: expected ';' before ')' token
     while(scanf("%I64d%I64d",&HN,&AN)0&&(HN||AN))
                                                 ^


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 06:45:21, Gzip enabled