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_35147305_11660.cpp: In function 'int main()':
0_0_35147305_11660.cpp:43:7: error: conflicting declaration 'int u'
   int u=0;
       ^
0_0_35147305_11660.cpp:15:22: note: previous declaration as 'char u [30]'
   char s[30], t[30], u[30], v[30];
                      ^
0_0_35147305_11660.cpp:48:7: error: incompatible types in assignment of 'int' to 'char [30]'
      u=i; minv=d[i];
       ^
0_0_35147305_11660.cpp:51:9: error: invalid types 'int [151][char [30]]' for array subscript
    vis[u]=1;
         ^
0_0_35147305_11660.cpp:53:11: error: invalid types 'int [151][151][char [30]]' for array subscript
     if(G[u][v]!=INF && !vis[v]) {
           ^
0_0_35147305_11660.cpp:54:17: error: invalid types 'int [151][char [30]]' for array subscript
      if(d[v]>d[u]+G[u][v]) {
                 ^
0_0_35147305_11660.cpp:54:22: error: invalid types 'int [151][151][char [30]]' for array subscript
      if(d[v]>d[u]+G[u][v]) {
                      ^
0_0_35147305_11660.cpp:55:15: error: invalid types 'int [151][char [30]]' for array subscript
       d[v]=d[u]+G[u][v];
               ^
0_0_35147305_11660.cpp:55:20: error: invalid types 'int [151][151][char [30]]' for array subscript
       d[v]=d[u]+G[u][v];
                    ^


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 10:27:52, Gzip enabled