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_22334159_6278.c:4:1: error: expected identifier or '(' before '/' token
 //S已求出最短路径的顶点的集合
 ^
0_0_22334159_6278.c:4:1: error: stray '\322' in program
0_0_22334159_6278.c:4:1: error: stray '\321' in program
0_0_22334159_6278.c:4:1: error: stray '\307' in program
0_0_22334159_6278.c:4:1: error: stray '\363' in program
0_0_22334159_6278.c:4:1: error: stray '\263' in program
0_0_22334159_6278.c:4:1: error: stray '\366' in program
0_0_22334159_6278.c:4:1: error: stray '\327' in program
0_0_22334159_6278.c:4:1: error: stray '\356' in program
0_0_22334159_6278.c:4:1: error: stray '\266' in program
0_0_22334159_6278.c:4:1: error: stray '\314' in program
0_0_22334159_6278.c:4:1: error: stray '\302' in program
0_0_22334159_6278.c:4:1: error: stray '\267' in program
0_0_22334159_6278.c:4:1: error: stray '\276' in program
0_0_22334159_6278.c:4:1: error: stray '\266' in program
0_0_22334159_6278.c:4:1: error: stray '\265' in program
0_0_22334159_6278.c:4:1: error: stray '\304' in program
0_0_22334159_6278.c:4:1: error: stray '\266' in program
0_0_22334159_6278.c:4:1: error: stray '\245' in program
0_0_22334159_6278.c:4:1: error: stray '\265' in program
0_0_22334159_6278.c:4:1: error: stray '\343' in program
0_0_22334159_6278.c:4:1: error: stray '\265' in program
0_0_22334159_6278.c:4:1: error: stray '\304' in program
0_0_22334159_6278.c:4:1: error: stray '\274' in program
0_0_22334159_6278.c:4:1: error: stray '\257' in program
0_0_22334159_6278.c:4:1: error: stray '\272' in program
0_0_22334159_6278.c:4:1: error: stray '\317' in program
0_0_22334159_6278.c:5:1: error: stray '\316' in program
 //T未求出最淡路径的顶点的集合
 ^
0_0_22334159_6278.c:5:1: error: stray '\264' in program
0_0_22334159_6278.c:5:1: error: stray '\307' in program
0_0_22334159_6278.c:5:1: error: stray '\363' in program
0_0_22334159_6278.c:5:1: error: stray '\263' in program
0_0_22334159_6278.c:5:1: error: stray '\366' in program
0_0_22334159_6278.c:5:1: error: stray '\327' in program
0_0_22334159_6278.c:5:1: error: stray '\356' in program
0_0_22334159_6278.c:5:1: error: stray '\265' in program
0_0_22334159_6278.c:5:1: error: stray '\255' in program
0_0_22334159_6278.c:5:1: error: stray '\302' in program
0_0_22334159_6278.c:5:1: error: stray '\267' in program
0_0_22334159_6278.c:5:1: error: stray '\276' in program
0_0_22334159_6278.c:5:1: error: stray '\266' in program
0_0_22334159_6278.c:5:1: error: stray '\265' in program
0_0_22334159_6278.c:5:1: error: stray '\304' in program
0_0_22334159_6278.c:5:1: error: stray '\266' in program
0_0_22334159_6278.c:5:1: error: stray '\245' in program
0_0_22334159_6278.c:5:1: error: stray '\265' in program
0_0_22334159_6278.c:5:1: error: stray '\343' in program
0_0_22334159_6278.c:5:1: error: stray '\265' in program
0_0_22334159_6278.c:5:1: error: stray '\304' in program
0_0_22334159_6278.c:5:1: error: stray '\274' in program
0_0_22334159_6278.c:5:1: error: stray '\257' in program
0_0_22334159_6278.c:5:1: error: stray '\272' in program
0_0_22334159_6278.c:5:1: error: stray '\317' in program
0_0_22334159_6278.c:7:16: error: expected identifier or '(' before '/' token
 int small[102];//记录最短路的数组
                ^
0_0_22334159_6278.c:7:16: error: stray '\274' in program
0_0_22334159_6278.c:7:16: error: stray '\307' in program
0_0_22334159_6278.c:7:16: error: stray '\302' in program
0_0_22334159_6278.c:7:16: error: stray '\274' in program
0_0_22334159_6278.c:7:16: error: stray '\327' in program
0_0_22334159_6278.c:7:16: error: stray '\356' in program
0_0_22334159_6278.c:7:16: error: stray '\266' in program
0_0_22334159_6278.c:7:16: error: stray '\314' in program
0_0_22334159_6278.c:7:16: error: stray '\302' in program
0_0_22334159_6278.c:7:16: error: stray '\267' in program
0_0_22334159_6278.c:7:16: error: stray '\265' in program
0_0_22334159_6278.c:7:16: error: stray '\304' in program
0_0_22334159_6278.c:7:16: error: stray '\312' in program
0_0_22334159_6278.c:7:16: error: stray '\375' in program
0_0_22334159_6278.c:7:16: error: stray '\327' in program
0_0_22334159_6278.c:7:16: error: stray '\351' in program
0_0_22334159_6278.c:8:14: error: expected identifier or '(' before '/' token
 int vis[102];//记录是否遍历过
              ^
0_0_22334159_6278.c:8:14: error: stray '\274' in program
0_0_22334159_6278.c:8:14: error: stray '\307' in program
0_0_22334159_6278.c:8:14: error: stray '\302' in program
0_0_22334159_6278.c:8:14: error: stray '\274' in program
0_0_22334159_6278.c:8:14: error: stray '\312' in program
0_0_22334159_6278.c:8:14: error: stray '\307' in program
0_0_22334159_6278.c:8:14: error: stray '\267' in program
0_0_22334159_6278.c:8:14: error: stray '\361' in program
0_0_22334159_6278.c:8:14: error: stray '\261' in program
0_0_22334159_6278.c:8:14: error: stray '\351' in program
0_0_22334159_6278.c:8:14: error: stray '\300' in program
0_0_22334159_6278.c:8:14: error: stray '\372' in program
0_0_22334159_6278.c:8:14: error: stray '\271' in program
0_0_22334159_6278.c:8:14: error: stray '\375' in program
0_0_22334159_6278.c:10:8: error: expected identifier or '(' before '/' token
 int n; //路口个数
        ^
0_0_22334159_6278.c:10:8: error: stray '\302' in program
0_0_22334159_6278.c:10:8: error: stray '\267' in program
0_0_22334159_6278.c:10:8: error: stray '\277' in program
0_0_22334159_6278.c:10:8: error: stray '\332' in program
0_0_22334159_6278.c:10:8: error: stray '\270' in program
0_0_22334159_6278.c:10:8: error: stray '\366' in program
0_0_22334159_6278.c:10:8: error: stray '\312' in program
0_0_22334159_6278.c:10:8: error: stray '\375' in program
0_0_22334159_6278.c:11:8: error: expected identifier or '(' before '/' token
 int m; //路的数目
        ^
0_0_22334159_6278.c:11:8: error: stray '\302' in program
0_0_22334159_6278.c:11:8: error: stray '\267' in program
0_0_22334159_6278.c:11:8: error: stray '\265' in program
0_0_22334159_6278.c:11:8: error: stray '\304' in program
0_0_22334159_6278.c:11:8: error: stray '\312' in program
0_0_22334159_6278.c:11:8: error: stray '\375' in program
0_0_22334159_6278.c:11:8: error: stray '\304' in program
0_0_22334159_6278.c:11:8: error: stray '\277' in program
0_0_22334159_6278.c:13:5: error: stray '\326' in program
     int a, b, c;  //a,b之间的路程需要c分钟
     ^
0_0_22334159_6278.c:13:5: error: stray '\256' in program
0_0_22334159_6278.c:13:5: error: stray '\274' in program
0_0_22334159_6278.c:13:5: error: stray '\344' in program
0_0_22334159_6278.c:13:5: error: stray '\265' in program
0_0_22334159_6278.c:13:5: error: stray '\304' in program
0_0_22334159_6278.c:13:5: error: stray '\302' in program
0_0_22334159_6278.c:13:5: error: stray '\267' in program
0_0_22334159_6278.c:13:5: error: stray '\263' in program
0_0_22334159_6278.c:13:5: error: stray '\314' in program
0_0_22334159_6278.c:13:5: error: stray '\320' in program
0_0_22334159_6278.c:13:5: error: stray '\350' in program
0_0_22334159_6278.c:13:5: error: stray '\322' in program
0_0_22334159_6278.c:13:5: error: stray '\252' in program
0_0_22334159_6278.c:13:5: error: stray '\267' in program
0_0_22334159_6278.c:13:5: error: stray '\326' in program
0_0_22334159_6278.c:13:5: error: stray '\326' in program
0_0_22334159_6278.c:13:5: error: stray '\323' in program
0_0_22334159_6278.c: In function 'dijkstra':
0_0_22334159_6278.c:34:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for(int i = 1; i<=n; i++){
     ^
0_0_22334159_6278.c:34:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_22334159_6278.c:35:9: error: 'small' undeclared (first use in this function)
         small[i] = road[x][i];
         ^
0_0_22334159_6278.c:35:9: note: each undeclared identifier is reported only once for each function it appears in
0_0_22334159_6278.c:35:20: error: 'road' undeclared (first use in this function)
         small[i] = road[x][i];
                    ^
0_0_22334159_6278.c:36:9: error: 'vis' undeclared (first use in this function)
         vis[i] = 0;
         ^
0_0_22334159_6278.c:42:13: error: redefinition of 'i'
     for(int i = 1; i<=n; i++){
             ^
0_0_22334159_6278.c:34:13: note: previous definition of 'i' was here
     for(int i = 1; i<=n; i++){
             ^
0_0_22334159_6278.c:42:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for(int i = 1; i<=n; i++){
     ^
0_0_22334159_6278.c:44:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
         for(int j = 1; j<=n; j++){
         ^
0_0_22334159_6278.c:51:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
         for(int k = 1; k<=n; k++){
         ^


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-16 05:45:44, Gzip enabled