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_25373096_25254.cpp:6:2: error: invalid preprocessing directive #difine
 #difine INF 999999
  ^
0_0_25373096_25254.cpp: In function 'int main()':
0_0_25373096_25254.cpp:26:14: error: 'INF' was not declared in this scope
   memset(dis,INF,sizeof(dis));
              ^
0_0_25373096_25254.cpp:46:29: error: lvalue required as increment operand
    if (mapp[a]==0) mapp[a]=d++;
                             ^
0_0_25373096_25254.cpp:47:29: error: lvalue required as increment operand
    if (mapp[d]==0) mapp[a]=d++;
                             ^
0_0_25373096_25254.cpp:48:26: error: invalid types 'int [1002][char [30]]' for array subscript
    if (b=='<'&&c<dis[b][a]) dis[b][a]=c;
                          ^
0_0_25373096_25254.cpp:48:37: error: invalid types 'int [1002][char [30]]' for array subscript
    if (b=='<'&&c<dis[b][a]) dis[b][a]=c;
                                     ^
0_0_25373096_25254.cpp:49:23: error: invalid types 'int [1002][1002][char [30]]' for array subscript
    if (b=='>'&&c<dis[a][b]) dis[a][b]=c;
                       ^
0_0_25373096_25254.cpp:49:34: error: invalid types 'int [1002][1002][char [30]]' for array subscript
    if (b=='>'&&c<dis[a][b]) dis[a][b]=c;
                                  ^
0_0_25373096_25254.cpp:51:9: error: 'floyd' was not declared in this scope
   floyd()
         ^
0_0_25373096_25254.cpp:55:4: error: 'sum' was not declared in this scope
    sum+=dis[num[i]][1];
    ^


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-04 23:05:50, Gzip enabled