0_0_13469329_15128.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13469329_15128.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13469329_15128.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13469329_15128.cpp: In function 'int dcmp(double)':
0_0_13469329_15128.cpp:9:12: error: 'fabs' was not declared in this scope
if(fabs(x)
^
0_0_13469329_15128.cpp:10:4: error: expected ')' before 'return'
return 0;
^
0_0_13469329_15128.cpp:13:1: error: expected ';' before '}' token
}
^
0_0_13469329_15128.cpp: In function 'bool SegmentProperIntersection(const Point&, const Point&, const Point&, const Point&)':
0_0_13469329_15128.cpp:38:1: error: expected ';' before '}' token
}
^
0_0_13469329_15128.cpp: In function 'bool OnSegment(const Point&, const Point&, const Point&)':
0_0_13469329_15128.cpp:42:1: error: expected ';' before '}' token
}
^
0_0_13469329_15128.cpp: At global scope:
0_0_13469329_15128.cpp:45:1: error: expected type-specifier before '{' token
{
^
0_0_13469329_15128.cpp: In function 'int main()':
0_0_13469329_15128.cpp:56:22: error: 'scanf' was not declared in this scope
while(~scanf("%d",&n),n)
^
0_0_13469329_15128.cpp:59:3: error: expected ';' before '{' token
{
^
0_0_13469329_15128.cpp:59:3: error: expected primary-expression before '{' token
0_0_13469329_15128.cpp:59:3: error: expected ')' before '{' token
0_0_13469329_15128.cpp:66:4: error: expected ';' before 'for'
for(int j=i+1;j
^
0_0_13469329_15128.cpp:66:4: error: expected primary-expression before 'for'
0_0_13469329_15128.cpp:66:4: error: expected ')' before 'for'
0_0_13469329_15128.cpp:67:4: error: expected ';' before '{' token
{
^
0_0_13469329_15128.cpp:67:4: error: expected primary-expression before '{' token
0_0_13469329_15128.cpp:67:4: error: expected ')' before '{' token
0_0_13469329_15128.cpp:72:15: error: 'sort' was not declared in this scope
sort(v,v+len);
^
0_0_13469329_15128.cpp:73:23: error: 'unique' was not declared in this scope
int c=unique(v,v+len)-v; //ȥ���ظ��ĵ�
^
0_0_13469329_15128.cpp:75:4: error: expected ';' before 'for'
for(int j=0;j
^
0_0_13469329_15128.cpp:75:4: error: expected primary-expression before 'for'
0_0_13469329_15128.cpp:75:4: error: expected ')' before 'for'
0_0_13469329_15128.cpp:76:5: error: expected ';' before 'if'
if(OnSegment(v[i],p[j],p[j+1])) e++;
^
0_0_13469329_15128.cpp:76:5: error: expected primary-expression before 'if'
0_0_13469329_15128.cpp:76:5: error: expected ')' before 'if'
0_0_13469329_15128.cpp:79:56: error: 'printf' was not declared in this scope
printf("Case %d: There are %d pieces.\n",kase++,e+2-c);
^
|