0_0_22788887_15532.cpp:19:27: error: two or more data types in declaration of 'zero'
inline bool int zero(int x) { return fabs(x) < eps; }
^
0_0_22788887_15532.cpp: In member function 'bool point::operator==(point&)':
0_0_22788887_15532.cpp:26:52: error: 'zero' was not declared in this scope
bool operator==(point& b) { return zero(x - b.x) && zero(y - b.y); }
^
0_0_22788887_15532.cpp: In function 'bool judge(point, point, point)':
0_0_22788887_15532.cpp:42:18: error: 'zero' was not declared in this scope
return zero(d);
^
0_0_22788887_15532.cpp: In function 'bool check(double, point, int)':
0_0_22788887_15532.cpp:49:35: error: 'zero' was not declared in this scope
if (zero(dist(P[i], o) - r)) cnt++;
^
|