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_24510640_9606.cpp: In function 'void Floyd()':
0_0_24510640_9606.cpp:368:17: error: 'vertex_number' was not declared in this scope
     for (k=0; k<vertex_number; k++) {
                 ^
0_0_24510640_9606.cpp:371:22: error: 'graph' was not declared in this scope
                 if ((graph[i][k]==-1) || (graph[k][j]==-1))
                      ^
0_0_24510640_9606.cpp:373:22: error: 'graph' was not declared in this scope
                 if ((graph[i][j]==-1) || (graph[i][j] > graph[i][k]+graph[k][j])) {
                      ^
0_0_24510640_9606.cpp:375:21: error: 'path' was not declared in this scope
                     path[i][j] = 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-12-03 19:39:08, Gzip enabled