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_13076071_15225.cpp: In function 'void MinTree()':
0_0_13076071_15225.cpp:11:20: error: 'N' was not declared in this scope
     double lowcoat[N],min,sum;
                    ^
0_0_13076071_15225.cpp:18:9: error: 'adj' was not declared in this scope
         adj[i]=1;
         ^
0_0_13076071_15225.cpp:19:12: error: 'g' was not declared in this scope
         if(g[1][i]>=MIN) lowcoat[i]=g[1][i];
            ^
0_0_13076071_15225.cpp:19:26: error: 'lowcoat' was not declared in this scope
         if(g[1][i]>=MIN) lowcoat[i]=g[1][i];
                          ^
0_0_13076071_15225.cpp:20:26: error: 'lowcoat' was not declared in this scope
         else             lowcoat[i]=INF;
                          ^
0_0_13076071_15225.cpp:22:5: error: 'lowcoat' was not declared in this scope
     lowcoat[1]=0;
     ^
0_0_13076071_15225.cpp:34:41: error: 'g' was not declared in this scope
             if(lowcoat[i] && lowcoat[i]>g[k][i] && g[k][i]>=MIN)
                                         ^
0_0_13076071_15225.cpp:37:17: error: 'adj' was not declared in this scope
                 adj[i]=k;
                 ^
0_0_13076071_15225.cpp:43:12: error: 'g' was not declared in this scope
         if(g[i][adj[i]] < MIN || g[i][adj[i]]> MAX)  { sum=-1; break;}
            ^
0_0_13076071_15225.cpp:43:17: error: 'adj' was not declared in this scope
         if(g[i][adj[i]] < MIN || g[i][adj[i]]> MAX)  { sum=-1; break;}
                 ^
0_0_13076071_15225.cpp:43:48: error: 'MAX' was not declared in this scope
         if(g[i][adj[i]] < MIN || g[i][adj[i]]> MAX)  { sum=-1; break;}
                                                ^
0_0_13076071_15225.cpp:44:14: error: 'g' was not declared in this scope
         sum+=g[i][adj[i]];
              ^
0_0_13076071_15225.cpp:44:19: error: 'adj' was not declared in this scope
         sum+=g[i][adj[i]];
                   ^


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-26 20:19:48, Gzip enabled