0_0_24768714_24014.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_24768714_24014.cpp:3:2: error: invalid preprocessing directive #includeusing
#includeusing namespace std;
^
0_0_24768714_24014.cpp: In function 'bool eq(point, point)':
0_0_24768714_24014.cpp:9:41: error: 'abs' was not declared in this scope
bool eq(point e,point d){ if(abs(e.x-d.x)<1e-6&&abs(e.y-d.y)<1e-6&&abs(e.z-d.z)<1e-6) return true;
^
0_0_24768714_24014.cpp: In function 'double prim(double (*)[105], int)':
0_0_24768714_24014.cpp:13:13: error: 'imat' was not declared in this scope
for(int i=0;imat[minpos][j]) dist[j]=mat[minpos][j]; }
^
0_0_24768714_24014.cpp:13:18: error: 'minpos' was not declared in this scope
for(int i=0;imat[minpos][j]) dist[j]=mat[minpos][j]; }
^
0_0_24768714_24014.cpp:13:26: error: 'j' was not declared in this scope
for(int i=0;imat[minpos][j]) dist[j]=mat[minpos][j]; }
^
0_0_24768714_24014.cpp:13:28: error: expected ';' before ')' token
for(int i=0;imat[minpos][j]) dist[j]=mat[minpos][j]; }
^
0_0_24768714_24014.cpp: At global scope:
0_0_24768714_24014.cpp:14:1: error: expected declaration before '}' token
} return sum;
^
|