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_32284453_4934.cpp:11:19: error: declaration does not declare anything [-fpermissive]
 typedef long long int;
                   ^
0_0_32284453_4934.cpp:19:1: error: 'll' does not name a type
 ll MST;
 ^
0_0_32284453_4934.cpp: In function 'void init()':
0_0_32284453_4934.cpp:38:5: error: 'MST' was not declared in this scope
     MST=0;
     ^
0_0_32284453_4934.cpp: In function 'void kruscal()':
0_0_32284453_4934.cpp:71:13: error: 'MST' was not declared in this scope
             MST+=a[i].val;
             ^
0_0_32284453_4934.cpp: In function 'int main()':
0_0_32284453_4934.cpp:104:9: error: 'll' was not declared in this scope
         ll ans=0;
         ^
0_0_32284453_4934.cpp:112:17: error: 'ans' was not declared in this scope
                 ans+=MST;
                 ^
0_0_32284453_4934.cpp:112:22: error: 'MST' was not declared in this scope
                 ans+=MST;
                      ^
0_0_32284453_4934.cpp:116:17: error: 'ans' was not declared in this scope
                 ans+=MST-G[x][y]+min(dp[x][y],val);
                 ^
0_0_32284453_4934.cpp:116:22: error: 'MST' was not declared in this scope
                 ans+=MST-G[x][y]+min(dp[x][y],val);
                      ^
0_0_32284453_4934.cpp:119:16: error: 'ans' was not declared in this scope
         fcout<<ans*1.0/tmp_q<<"\n";
                ^


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 18:24:56, Gzip enabled