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_18357327_23196.c:2:5: error: unknown type name 'using'
     using namespace std;  
     ^
0_0_18357327_23196.c:2:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
     using namespace std;  
                     ^
0_0_18357327_23196.c:7:7: error: variably modified 'node' at file scope
     } node[MAXN];  
       ^
0_0_18357327_23196.c:9:5: error: unknown type name 'bool'
     bool Judge(int k,int number)  
     ^
0_0_18357327_23196.c: In function 'Judge':
0_0_18357327_23196.c:12:9: error: unknown type name 'bool'
         bool mark[5];  
         ^
0_0_18357327_23196.c:13:9: 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_18357327_23196.c:13:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_18357327_23196.c:13:40: error: 'false' undeclared (first use in this function)
         for(int i=1; i<=4; i++)mark[i]=false;  
                                        ^
0_0_18357327_23196.c:13:40: note: each undeclared identifier is reported only once for each function it appears in
0_0_18357327_23196.c:26:17: error: redefinition of 'i'
         for(int i=1; i<=4; i++)//相同位置相同的数  
                 ^
0_0_18357327_23196.c:13:17: note: previous definition of 'i' was here
         for(int i=1; i<=4; i++)mark[i]=false;  
                 ^
0_0_18357327_23196.c:26:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
         for(int i=1; i<=4; i++)//相同位置相同的数  
         ^
0_0_18357327_23196.c:26:32: error: expected expression before '/' token
         for(int i=1; i<=4; i++)//相同位置相同的数  
                                ^
0_0_18357327_23196.c:26:32: error: stray '\317' in program
0_0_18357327_23196.c:26:32: error: stray '\340' in program
0_0_18357327_23196.c:26:32: error: stray '\315' in program
0_0_18357327_23196.c:26:32: error: stray '\254' in program
0_0_18357327_23196.c:26:32: error: stray '\316' in program
0_0_18357327_23196.c:26:32: error: stray '\273' in program
0_0_18357327_23196.c:26:32: error: stray '\326' in program
0_0_18357327_23196.c:26:32: error: stray '\303' in program
0_0_18357327_23196.c:26:32: error: stray '\317' in program
0_0_18357327_23196.c:26:32: error: stray '\340' in program
0_0_18357327_23196.c:26:32: error: stray '\315' in program
0_0_18357327_23196.c:26:32: error: stray '\254' in program
0_0_18357327_23196.c:26:32: error: stray '\265' in program
0_0_18357327_23196.c:26:32: error: stray '\304' in program
0_0_18357327_23196.c:26:32: error: stray '\312' in program
0_0_18357327_23196.c:26:32: error: stray '\375' in program
0_0_18357327_23196.c:30:42: error: expected expression before '/' token
         if(count!=node[k].c)return false;//如果个数不符就返回错  
                                          ^
0_0_18357327_23196.c:30:42: error: stray '\310' in program
0_0_18357327_23196.c:30:42: error: stray '\347' in program
0_0_18357327_23196.c:30:42: error: stray '\271' in program
0_0_18357327_23196.c:30:42: error: stray '\373' in program
0_0_18357327_23196.c:30:42: error: stray '\270' in program
0_0_18357327_23196.c:30:42: error: stray '\366' in program
0_0_18357327_23196.c:30:42: error: stray '\312' in program
0_0_18357327_23196.c:30:42: error: stray '\375' in program
0_0_18357327_23196.c:30:42: error: stray '\262' in program
0_0_18357327_23196.c:30:42: error: stray '\273' in program
0_0_18357327_23196.c:30:42: error: stray '\267' in program
0_0_18357327_23196.c:30:42: error: stray '\373' in program
0_0_18357327_23196.c:30:42: error: stray '\276' in program
0_0_18357327_23196.c:30:42: error: stray '\315' in program
0_0_18357327_23196.c:30:42: error: stray '\267' in program
0_0_18357327_23196.c:30:42: error: stray '\265' in program
0_0_18357327_23196.c:30:42: error: stray '\273' in program
0_0_18357327_23196.c:30:42: error: stray '\330' in program
0_0_18357327_23196.c:30:42: error: stray '\264' in program
0_0_18357327_23196.c:30:42: error: stray '\355' in program
0_0_18357327_23196.c:33:17: error: redefinition of 'i'
         for(int i=1; i<=4; i++)//相同数字的个数  
                 ^
0_0_18357327_23196.c:26:17: note: previous definition of 'i' was here
         for(int i=1; i<=4; i++)//相同位置相同的数  
                 ^
0_0_18357327_23196.c:33:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
         for(int i=1; i<=4; i++)//相同数字的个数  
         ^
0_0_18357327_23196.c:33:32: error: expected expression before '/' token
         for(int i=1; i<=4; i++)//相同数字的个数  
                                ^
0_0_18357327_23196.c:33:32: error: stray '\317' in program
0_0_18357327_23196.c:33:32: error: stray '\340' in program
0_0_18357327_23196.c:33:32: error: stray '\315' in program
0_0_18357327_23196.c:33:32: error: stray '\254' in program
0_0_18357327_23196.c:33:32: error: stray '\312' in program
0_0_18357327_23196.c:33:32: error: stray '\375' in program
0_0_18357327_23196.c:33:32: error: stray '\327' in program
0_0_18357327_23196.c:33:32: error: stray '\326' in program
0_0_18357327_23196.c:33:32: error: stray '\265' in program
0_0_18357327_23196.c:33:32: error: stray '\304' in program
0_0_18357327_23196.c:33:32: error: stray '\270' in program
0_0_18357327_23196.c:33:32: error: stray '\366' in program
0_0_18357327_23196.c:33:32: error: stray '\312' in program
0_0_18357327_23196.c:33:32: error: stray '\375' in program
0_0_18357327_23196.c:47:16: error: 'true' undeclared (first use in this function)
         return true;  
                ^
0_0_18357327_23196.c: In function 'main':
0_0_18357327_23196.c:57:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
             for(int i=1; i<=n; i++)  
             ^
0_0_18357327_23196.c:62:13: error: unknown type name 'bool'
             bool flag=true;  
             ^
0_0_18357327_23196.c:62:23: error: 'true' undeclared (first use in this function)
             bool flag=true;  
                       ^
0_0_18357327_23196.c:63:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
             for(int num=1000; num<=9999; num++)//暴力枚举  
             ^
0_0_18357327_23196.c:63:48: error: expected expression before '/' token
             for(int num=1000; num<=9999; num++)//暴力枚举  
                                                ^
0_0_18357327_23196.c:63:48: error: stray '\261' in program
0_0_18357327_23196.c:63:48: error: stray '\251' in program
0_0_18357327_23196.c:63:48: error: stray '\301' in program
0_0_18357327_23196.c:63:48: error: stray '\246' in program
0_0_18357327_23196.c:63:48: error: stray '\303' in program
0_0_18357327_23196.c:63:48: error: stray '\266' in program
0_0_18357327_23196.c:63:48: error: stray '\276' in program
0_0_18357327_23196.c:63:48: 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:37:34, Gzip enabled