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_23180632_20023.cpp:8:7: error: expected unqualified-id before '?' token
 const ???????????16???? ??10??????INT ????? ???????????
       ^
0_0_23180632_20023.cpp:11:10: error: 'maxn' was not declared in this scope
 int dist[maxn];
          ^
0_0_23180632_20023.cpp:12:9: error: 'maxn' was not declared in this scope
 int map[maxn][maxn];
         ^
0_0_23180632_20023.cpp:12:15: error: 'maxn' was not declared in this scope
 int map[maxn][maxn];
               ^
0_0_23180632_20023.cpp:13:10: error: 'maxn' was not declared in this scope
 bool vis[maxn];
          ^
0_0_23180632_20023.cpp:14:8: error: 'maxn' was not declared in this scope
 int dp[maxn];
        ^
0_0_23180632_20023.cpp: In function 'void Dijkstra(int)':
0_0_23180632_20023.cpp:20:9: error: 'dist' was not declared in this scope
         dist[i]=map[x][i];//??2????????????????dist[i]??
         ^
0_0_23180632_20023.cpp:20:17: error: 'map' was not declared in this scope
         dist[i]=map[x][i];//??2????????????????dist[i]??
                 ^
0_0_23180632_20023.cpp:23:12: error: 'vis' was not declared in this scope
     memset(vis,false,sizeof(vis));//?????????????
            ^
0_0_23180632_20023.cpp:26:5: error: 'dist' was not declared in this scope
     dist[x]=0;//????????????
     ^
0_0_23180632_20023.cpp:34:42: error: lvalue required as left operand of assignment
             if(!vis[ii]&&dist[ii]<minn) 2="" i="1;i<=dian;i++)" index1="ii;" int="" j="1;j<=dian;j++)//??????????§Ö??2?????" minn="=INT)" return="" sum="0;">dist[i])//?????????????????¡¤&&???????i??2??????§³???????2?????
                                          ^
0_0_23180632_20023.cpp:42:12: error: 'dp' was not declared in this scope
     return dp[x]=sum;
            ^
0_0_23180632_20023.cpp:42:18: error: 'sum' was not declared in this scope
     return dp[x]=sum;
                  ^
0_0_23180632_20023.cpp:42:18: error: return-statement with a value, in function returning 'void' [-fpermissive]
0_0_23180632_20023.cpp:45:1: error: a function-definition is not allowed here before '{' token
 {
 ^
0_0_23180632_20023.cpp:68:1: error: expected '}' at end of input
 }
 ^


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 09:57:49, Gzip enabled