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_36571785_16080.cpp: In function 'int main()':
0_0_36571785_16080.cpp:22:4: error: 'dis' was not declared in this scope
    dis[i][i]=0;
    ^
0_0_36571785_16080.cpp:29:36: error: 'dis' was not declared in this scope
         for(int i=1;i<=n;i++) f[i]=dis[1][i];//存放顶点1可到达的路径长度 
                                    ^
0_0_36571785_16080.cpp:38:39: error: 'dis' was not declared in this scope
                 if ((f[i] == ink) && (dis[t][mi] > dis[i][mi])) t = i;
                                       ^
0_0_36571785_16080.cpp:39:27: error: 'dis' was not declared in this scope
             ans = max(ans,dis[t][mi]);
                           ^


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-25 19:15:59, Gzip enabled