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_20052784_14494.c:8:3: error: variably modified 'Edge' at file scope
 } Edge[N*2];
   ^
0_0_20052784_14494.c:9:5: error: variably modified 'vis' at file scope
 int vis[N],head[N],value[N],cnt;
     ^
0_0_20052784_14494.c:9:12: error: variably modified 'head' at file scope
 int vis[N],head[N],value[N],cnt;
            ^
0_0_20052784_14494.c:9:20: error: variably modified 'value' at file scope
 int vis[N],head[N],value[N],cnt;
                    ^
0_0_20052784_14494.c: In function 'main':
0_0_20052784_14494.c:27:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
         for(int i=0; i<m; i++)
         ^
0_0_20052784_14494.c:27:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_20052784_14494.c:35:9: error: expected expression before '/' token
         //memset(value,0,sizeof(value));
         ^
0_0_20052784_14494.c:52:17: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
                 for(int i=u; i!=-1; i=Edge[i].next)
                 ^


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 13:09:26, Gzip enabled