0_0_25566388_2368.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25566388_2368.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25566388_2368.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25566388_2368.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25566388_2368.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25566388_2368.cpp:6:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25566388_2368.cpp: In function 'int dcmp(double)':
0_0_25566388_2368.cpp:17:14: error: 'fabs' was not declared in this scope
if(fabs(x) < eps) return 0;
^
0_0_25566388_2368.cpp: In function 'int ConvexHull()':
0_0_25566388_2368.cpp:48:23: error: expected ';' before numeric constant
for(int i = 0; i 1 && dcmp(Cross(ch[m-1]-ch[m-2], p[i]-ch[m-2])) < 0)
^
0_0_25566388_2368.cpp:52:19: error: 'i' was not declared in this scope
ch[m++]=p[i];
^
0_0_25566388_2368.cpp: At global scope:
0_0_25566388_2368.cpp:59:13: error: 'm' was not declared in this scope
int k = m;
^
0_0_25566388_2368.cpp:60:5: error: expected unqualified-id before 'for'
for(int i = n-2; i >= 0; i--)
^
0_0_25566388_2368.cpp:60:22: error: 'i' does not name a type
for(int i = n-2; i >= 0; i--)
^
0_0_25566388_2368.cpp:60:30: error: 'i' does not name a type
for(int i = n-2; i >= 0; i--)
^
0_0_25566388_2368.cpp:73:5: error: expected unqualified-id before 'if'
if(n > 1) m--;
^
0_0_25566388_2368.cpp:74:5: error: expected unqualified-id before 'return'
return m;
^
0_0_25566388_2368.cpp:75:1: error: expected declaration before '}' token
}
^
|