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_36491789_9412.cpp:7:44: error: expected ']' before ';' token
 int cost[1005],belong[1005],in[1005],e[1005;//缩点 
                                            ^
0_0_36491789_9412.cpp: In function 'void init()':
0_0_36491789_9412.cpp:20:9: error: 'e' was not declared in this scope
  memset(e,0,sizeof(e));
         ^
0_0_36491789_9412.cpp: In function 'void tarjan(int)':
0_0_36491789_9412.cpp:36:17: error: 'y' was not declared in this scope
  if(low[x]==dfn[y]){
                 ^
0_0_36491789_9412.cpp: In function 'int main()':
0_0_36491789_9412.cpp:79:4: error: 'e' was not declared in this scope
    e[i]=inf;
    ^
0_0_36491789_9412.cpp:84:5: error: 'e' was not declared in this scope
     e[tmp]=min(e[tmp],cost[i]);
     ^
0_0_36491789_9412.cpp:88:7: error: 'e' was not declared in this scope
    if(e[i]!=inf)q+=e[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-07-03 19:32:59, Gzip enabled