0_0_23080096_5006.cpp: In function 'void solve()':
0_0_23080096_5006.cpp:81:25: error: 'p1' was not declared in this scope
Point A = q[p1],B = q[p2],C = q[p3];
^
0_0_23080096_5006.cpp:83:24: error: 'B' was not declared in this scope
if(IsLine(A,B) && IsLine(B,C)) continue;
^
0_0_23080096_5006.cpp:83:39: error: 'C' was not declared in this scope
if(IsLine(A,B) && IsLine(B,C)) continue;
^
0_0_23080096_5006.cpp:84:23: error: 'B' was not declared in this scope
if(IsRow(A,B) && IsRow(B,C)) continue;
^
0_0_23080096_5006.cpp:84:37: error: 'C' was not declared in this scope
if(IsRow(A,B) && IsRow(B,C)) continue;
^
0_0_23080096_5006.cpp:85:34: error: 'B' was not declared in this scope
Point res = Getcir(A,B,C);
^
0_0_23080096_5006.cpp:85:36: error: 'C' was not declared in this scope
Point res = Getcir(A,B,C);
^
0_0_23080096_5006.cpp: At global scope:
0_0_23080096_5006.cpp:111:11: error: redefinition of 'const int MAX'
const int MAX = 100010;
^
0_0_23080096_5006.cpp:5:11: note: 'const int MAX' previously defined here
const int MAX = 100010;
^
0_0_23080096_5006.cpp:112:14: error: redefinition of 'const double eps'
const double eps = 1e-5;
^
0_0_23080096_5006.cpp:6:14: note: 'const double eps' previously defined here
const double eps = 1e-5;
^
0_0_23080096_5006.cpp:114:5: error: redefinition of 'int N'
int N;
^
0_0_23080096_5006.cpp:8:5: note: 'int N' previously declared here
int N;
^
0_0_23080096_5006.cpp:115:8: error: redefinition of 'double R'
double R;
^
0_0_23080096_5006.cpp:9:8: note: 'double R' previously declared here
double R;
^
0_0_23080096_5006.cpp:116:18: error: redefinition of 'std::map<std::basic_string<char>, bool> mp'
map<string,bool> mp;
^
0_0_23080096_5006.cpp:10:18: note: 'std::map<std::basic_string<char>, bool> mp' previously declared here
map<string,bool> mp;
^
0_0_23080096_5006.cpp:117:28: error: redefinition of 'std::map<std::basic_string<char>, bool>::iterator it'
map<string,bool>::iterator it;
^
0_0_23080096_5006.cpp:11:28: note: 'std::map<std::basic_string<char>, bool>::iterator it' previously declared here
map<string,bool>::iterator it;
^
0_0_23080096_5006.cpp: In function 'std::string num_string(int)':
0_0_23080096_5006.cpp:118:8: error: redefinition of 'std::string num_string(int)'
string num_string(int num){
^
0_0_23080096_5006.cpp:12:8: note: 'std::string num_string(int)' previously defined here
string num_string(int num){
^
0_0_23080096_5006.cpp: At global scope:
0_0_23080096_5006.cpp:127:7: error: redefinition of 'class Point'
class Point{
^
0_0_23080096_5006.cpp:21:7: error: previous definition of 'class Point'
class Point{
^
0_0_23080096_5006.cpp:136:8: error: invalid type in declaration before ';' token
}q[MAX];
^
0_0_23080096_5006.cpp:136:8: error: conflicting declaration 'int q [100010]'
0_0_23080096_5006.cpp:30:2: note: previous declaration as 'Point q [100010]'
}q[MAX];
^
0_0_23080096_5006.cpp: In function 'bool IsLine(Point&, Point&)':
0_0_23080096_5006.cpp:138:6: error: redefinition of 'bool IsLine(Point&, Point&)'
bool IsLine(Point &A,Point &B){
^
0_0_23080096_5006.cpp:32:6: note: 'bool IsLine(Point&, Point&)' previously defined here
bool IsLine(Point &A,Point &B){
^
0_0_23080096_5006.cpp: In function 'bool IsRow(Point&, Point&)':
0_0_23080096_5006.cpp:143:6: error: redefinition of 'bool IsRow(Point&, Point&)'
bool IsRow(Point &A,Point &B){
^
0_0_23080096_5006.cpp:37:6: note: 'bool IsRow(Point&, Point&)' previously defined here
bool IsRow(Point &A,Point &B){
^
0_0_23080096_5006.cpp: In function 'bool Isok(Point&)':
0_0_23080096_5006.cpp:148:6: error: redefinition of 'bool Isok(Point&)'
bool Isok(Point &A){//判断这个点是否可行
^
0_0_23080096_5006.cpp:42:6: note: 'bool Isok(Point&)' previously defined here
bool Isok(Point &A){//判断这个点是否可行
^
0_0_23080096_5006.cpp: In function 'Point Getcir(Point, Point, Point)':
0_0_23080096_5006.cpp:161:7: error: redefinition of 'Point Getcir(Point, Point, Point)'
Point Getcir(Point A,Point B,Point C){//给予三个点,求圆心。
^
0_0_23080096_5006.cpp:55:7: note: 'Point Getcir(Point, Point, Point)' previously defined here
Point Getcir(Point A,Point B,Point C){//给予三个点,求圆心。
^
0_0_23080096_5006.cpp: In function 'void solve()':
0_0_23080096_5006.cpp:175:6: error: redefinition of 'void solve()'
void solve(){
^
0_0_23080096_5006.cpp:69:6: note: 'void solve()' previously defined here
void solve(){
^
0_0_23080096_5006.cpp:187:25: error: 'p1' was not declared in this scope
Point A = q[p1],B = q[p2],C = q[p3];
^
0_0_23080096_5006.cpp:189:24: error: 'B' was not declared in this scope
if(IsLine(A,B) && IsLine(B,C)) continue;
^
0_0_23080096_5006.cpp:189:39: error: 'C' was not declared in this scope
if(IsLine(A,B) && IsLine(B,C)) continue;
^
0_0_23080096_5006.cpp:190:23: error: 'B' was not declared in this scope
if(IsRow(A,B) && IsRow(B,C)) continue;
^
0_0_23080096_5006.cpp:190:37: error: 'C' was not declared in this scope
if(IsRow(A,B) && IsRow(B,C)) continue;
^
0_0_23080096_5006.cpp:191:34: error: 'B' was not declared in this scope
Point res = Getcir(A,B,C);
^
0_0_23080096_5006.cpp:191:36: error: 'C' was not declared in this scope
Point res = Getcir(A,B,C);
^
0_0_23080096_5006.cpp: In function 'int main()':
0_0_23080096_5006.cpp:201:5: error: redefinition of 'int main()'
int main(void){
^
0_0_23080096_5006.cpp:95:5: note: 'int main()' previously defined here
int main(void){
^
|