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";
^
|