0_0_29168262_731.cpp:18:20: error: expected primary-expression before ']' token
Pipe_t pipes[MAXN*];
^
0_0_29168262_731.cpp: In function 'bool intersect(Pipe_t, Pipe_t)':
0_0_29168262_731.cpp:46:13: error: expected primary-expression before ')' token
&& d2<) || (d1< && d2>)) && ((d3< && d4>) || (d3> && d4<)) )
^
0_0_29168262_731.cpp:48:19: error: expected ';' before '(' token
&& onSegment(p3, p4, p1))
^
0_0_29168262_731.cpp:50:19: error: expected ';' before '(' token
&& onSegment(p3, p4, p2))
^
0_0_29168262_731.cpp:52:19: error: expected ';' before '(' token
&& onSegment(p1, p2, p3))
^
0_0_29168262_731.cpp:54:19: error: expected ';' before '(' token
&& onSegment(p1, p2, p4))
^
0_0_29168262_731.cpp:56:6: error: 'else' without a previous 'if'
else
^
0_0_29168262_731.cpp:46:10: error: label 'd2' used but not defined
&& d2<) || (d1< && d2>)) && ((d3< && d4>) || (d3> && d4<)) )
^
0_0_29168262_731.cpp:48:10: error: label 'onSegment' used but not defined
&& onSegment(p3, p4, p1))
^
0_0_29168262_731.cpp: In function 'int main()':
0_0_29168262_731.cpp:70:14: error: expected primary-expression before ';' token
m = ;
^
0_0_29168262_731.cpp:72:20: error: expected ';' before ')' token
; i<n; ++i) {
^
0_0_29168262_731.cpp:99:2: error: expected '}' at end of input
}
^
0_0_29168262_731.cpp:99:2: error: expected '}' at end of input
|