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_18357353_31828.c:6:4: error: variably modified 'node' at file scope
 }  node[MAXN];
    ^
0_0_18357353_31828.c:8:1: error: unknown type name 'bool'
 bool  Judge(int  k,int  number)
 ^
0_0_18357353_31828.c: In function 'Judge':
0_0_18357353_31828.c:11:2: error: unknown type name 'bool'
  bool  mark[5];
  ^
0_0_18357353_31828.c:12:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  for(int  i=1;  i<=4;  i++)mark[i]=false;
  ^
0_0_18357353_31828.c:12:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_18357353_31828.c:12:36: error: 'false' undeclared (first use in this function)
  for(int  i=1;  i<=4;  i++)mark[i]=false;
                                    ^
0_0_18357353_31828.c:12:36: note: each undeclared identifier is reported only once for each function it appears in
0_0_18357353_31828.c:24:11: error: redefinition of 'i'
  for(int  i=1;  i<=4;  i++)//相同位置相同的数    
           ^
0_0_18357353_31828.c:12:11: note: previous definition of 'i' was here
  for(int  i=1;  i<=4;  i++)mark[i]=false;
           ^
0_0_18357353_31828.c:24:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  for(int  i=1;  i<=4;  i++)//相同位置相同的数    
  ^
0_0_18357353_31828.c:24:28: error: expected expression before '/' token
  for(int  i=1;  i<=4;  i++)//相同位置相同的数    
                            ^
0_0_18357353_31828.c:24:28: error: stray '\317' in program
0_0_18357353_31828.c:24:28: error: stray '\340' in program
0_0_18357353_31828.c:24:28: error: stray '\315' in program
0_0_18357353_31828.c:24:28: error: stray '\254' in program
0_0_18357353_31828.c:24:28: error: stray '\316' in program
0_0_18357353_31828.c:24:28: error: stray '\273' in program
0_0_18357353_31828.c:24:28: error: stray '\326' in program
0_0_18357353_31828.c:24:28: error: stray '\303' in program
0_0_18357353_31828.c:24:28: error: stray '\317' in program
0_0_18357353_31828.c:24:28: error: stray '\340' in program
0_0_18357353_31828.c:24:28: error: stray '\315' in program
0_0_18357353_31828.c:24:28: error: stray '\254' in program
0_0_18357353_31828.c:24:28: error: stray '\265' in program
0_0_18357353_31828.c:24:28: error: stray '\304' in program
0_0_18357353_31828.c:24:28: error: stray '\312' in program
0_0_18357353_31828.c:24:28: error: stray '\375' in program
0_0_18357353_31828.c:28:36: error: expected expression before '/' token
  if(count!=node[k].c)return  false;//如果个数不符就返回错    
                                    ^
0_0_18357353_31828.c:28:36: error: stray '\310' in program
0_0_18357353_31828.c:28:36: error: stray '\347' in program
0_0_18357353_31828.c:28:36: error: stray '\271' in program
0_0_18357353_31828.c:28:36: error: stray '\373' in program
0_0_18357353_31828.c:28:36: error: stray '\270' in program
0_0_18357353_31828.c:28:36: error: stray '\366' in program
0_0_18357353_31828.c:28:36: error: stray '\312' in program
0_0_18357353_31828.c:28:36: error: stray '\375' in program
0_0_18357353_31828.c:28:36: error: stray '\262' in program
0_0_18357353_31828.c:28:36: error: stray '\273' in program
0_0_18357353_31828.c:28:36: error: stray '\267' in program
0_0_18357353_31828.c:28:36: error: stray '\373' in program
0_0_18357353_31828.c:28:36: error: stray '\276' in program
0_0_18357353_31828.c:28:36: error: stray '\315' in program
0_0_18357353_31828.c:28:36: error: stray '\267' in program
0_0_18357353_31828.c:28:36: error: stray '\265' in program
0_0_18357353_31828.c:28:36: error: stray '\273' in program
0_0_18357353_31828.c:28:36: error: stray '\330' in program
0_0_18357353_31828.c:28:36: error: stray '\264' in program
0_0_18357353_31828.c:28:36: error: stray '\355' in program
0_0_18357353_31828.c:31:11: error: redefinition of 'i'
  for(int  i=1;  i<=4;  i++)//相同数字的个数    
           ^
0_0_18357353_31828.c:24:11: note: previous definition of 'i' was here
  for(int  i=1;  i<=4;  i++)//相同位置相同的数    
           ^
0_0_18357353_31828.c:31:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  for(int  i=1;  i<=4;  i++)//相同数字的个数    
  ^
0_0_18357353_31828.c:31:28: error: expected expression before '/' token
  for(int  i=1;  i<=4;  i++)//相同数字的个数    
                            ^
0_0_18357353_31828.c:31:28: error: stray '\317' in program
0_0_18357353_31828.c:31:28: error: stray '\340' in program
0_0_18357353_31828.c:31:28: error: stray '\315' in program
0_0_18357353_31828.c:31:28: error: stray '\254' in program
0_0_18357353_31828.c:31:28: error: stray '\312' in program
0_0_18357353_31828.c:31:28: error: stray '\375' in program
0_0_18357353_31828.c:31:28: error: stray '\327' in program
0_0_18357353_31828.c:31:28: error: stray '\326' in program
0_0_18357353_31828.c:31:28: error: stray '\265' in program
0_0_18357353_31828.c:31:28: error: stray '\304' in program
0_0_18357353_31828.c:31:28: error: stray '\270' in program
0_0_18357353_31828.c:31:28: error: stray '\366' in program
0_0_18357353_31828.c:31:28: error: stray '\312' in program
0_0_18357353_31828.c:31:28: error: stray '\375' in program
0_0_18357353_31828.c:45:10: error: 'true' undeclared (first use in this function)
  return  true;    
          ^
0_0_18357353_31828.c: In function 'main':
0_0_18357353_31828.c:55:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
   for(int  i=1;  i<=n;  i++)    
   ^
0_0_18357353_31828.c:60:3: error: unknown type name 'bool'
   bool  flag=true;    
   ^
0_0_18357353_31828.c:60:14: error: 'true' undeclared (first use in this function)
   bool  flag=true;    
              ^
0_0_18357353_31828.c:61:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
   for(int  num=1000;  num<=9999;  num++)//暴力枚举    
   ^
0_0_18357353_31828.c:61:41: error: expected expression before '/' token
   for(int  num=1000;  num<=9999;  num++)//暴力枚举    
                                         ^
0_0_18357353_31828.c:61:41: error: stray '\261' in program
0_0_18357353_31828.c:61:41: error: stray '\251' in program
0_0_18357353_31828.c:61:41: error: stray '\301' in program
0_0_18357353_31828.c:61:41: error: stray '\246' in program
0_0_18357353_31828.c:61:41: error: stray '\303' in program
0_0_18357353_31828.c:61:41: error: stray '\266' in program
0_0_18357353_31828.c:61:41: error: stray '\276' in program
0_0_18357353_31828.c:61:41: error: stray '\331' in program


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-17 03:33:32, Gzip enabled