0_0_30306012_11523.cpp: In function 'int main()':
0_0_30306012_11523.cpp:34:19: error: 'scanf_s' was not declared in this scope
scanf("%d", &test);
^
0_0_30306012_11523.cpp: At global scope:
0_0_30306012_11523.cpp:86:8: error: redefinition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp:5:8: error: previous definition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp: In function 'bool isOverlap(const Rect&, const Rect&)':
0_0_30306012_11523.cpp:95:6: error: redefinition of 'bool isOverlap(const Rect&, const Rect&)'
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp:14:6: note: 'bool isOverlap(const Rect&, const Rect&)' previously defined here
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp: In function 'Rect Make_Rect(int, int, int, int)':
0_0_30306012_11523.cpp:106:6: error: redefinition of 'Rect Make_Rect(int, int, int, int)'
Rect Make_Rect(int x1, int x2, int y1, int y2)
^
0_0_30306012_11523.cpp:25:6: note: 'Rect Make_Rect(int, int, int, int)' previously defined here
Rect Make_Rect(int x1, int x2, int y1, int y2)
^
0_0_30306012_11523.cpp: In function 'int main()':
0_0_30306012_11523.cpp:111:5: error: redefinition of 'int main()'
int main()
^
0_0_30306012_11523.cpp:30:5: note: 'int main()' previously defined here
int main()
^
0_0_30306012_11523.cpp:115:19: error: 'scanf_s' was not declared in this scope
scanf("%d", &test);
^
0_0_30306012_11523.cpp: At global scope:
0_0_30306012_11523.cpp:167:8: error: redefinition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp:5:8: error: previous definition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp: In function 'bool isOverlap(const Rect&, const Rect&)':
0_0_30306012_11523.cpp:176:6: error: redefinition of 'bool isOverlap(const Rect&, const Rect&)'
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp:14:6: note: 'bool isOverlap(const Rect&, const Rect&)' previously defined here
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp: In function 'Rect Make_Rect(int, int, int, int)':
0_0_30306012_11523.cpp:187:6: error: redefinition of 'Rect Make_Rect(int, int, int, int)'
Rect Make_Rect(int x1, int x2, int y1, int y2)
^
0_0_30306012_11523.cpp:25:6: note: 'Rect Make_Rect(int, int, int, int)' previously defined here
Rect Make_Rect(int x1, int x2, int y1, int y2)
^
0_0_30306012_11523.cpp: In function 'int main()':
0_0_30306012_11523.cpp:192:5: error: redefinition of 'int main()'
int main()
^
0_0_30306012_11523.cpp:30:5: note: 'int main()' previously defined here
int main()
^
0_0_30306012_11523.cpp:196:19: error: 'scanf_s' was not declared in this scope
scanf("%d", &test);
^
0_0_30306012_11523.cpp: At global scope:
0_0_30306012_11523.cpp:248:8: error: redefinition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp:5:8: error: previous definition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp: In function 'bool isOverlap(const Rect&, const Rect&)':
0_0_30306012_11523.cpp:257:6: error: redefinition of 'bool isOverlap(const Rect&, const Rect&)'
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp:14:6: note: 'bool isOverlap(const Rect&, const Rect&)' previously defined here
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp: In function 'Rect Make_Rect(int, int, int, int)':
0_0_30306012_11523.cpp:268:6: error: redefinition of 'Rect Make_Rect(int, int, int, int)'
Rect Make_Rect(int x1, int x2, int y1, int y2)
^
0_0_30306012_11523.cpp:25:6: note: 'Rect Make_Rect(int, int, int, int)' previously defined here
Rect Make_Rect(int x1, int x2, int y1, int y2)
^
0_0_30306012_11523.cpp: In function 'int main()':
0_0_30306012_11523.cpp:273:5: error: redefinition of 'int main()'
int main()
^
0_0_30306012_11523.cpp:30:5: note: 'int main()' previously defined here
int main()
^
0_0_30306012_11523.cpp:277:19: error: 'scanf_s' was not declared in this scope
scanf("%d", &test);
^
0_0_30306012_11523.cpp: At global scope:
0_0_30306012_11523.cpp:329:8: error: redefinition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp:5:8: error: previous definition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp: In function 'bool isOverlap(const Rect&, const Rect&)':
0_0_30306012_11523.cpp:338:6: error: redefinition of 'bool isOverlap(const Rect&, const Rect&)'
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp:14:6: note: 'bool isOverlap(const Rect&, const Rect&)' previously defined here
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp: In function 'Rect Make_Rect(int, int, int, int)':
0_0_30306012_11523.cpp:349:6: error: redefinition of 'Rect Make_Rect(int, int, int, int)'
Rect Make_Rect(int x1, int x2, int y1, int y2)
^
0_0_30306012_11523.cpp:25:6: note: 'Rect Make_Rect(int, int, int, int)' previously defined here
Rect Make_Rect(int x1, int x2, int y1, int y2)
^
0_0_30306012_11523.cpp: In function 'int main()':
0_0_30306012_11523.cpp:354:5: error: redefinition of 'int main()'
int main()
^
0_0_30306012_11523.cpp:30:5: note: 'int main()' previously defined here
int main()
^
0_0_30306012_11523.cpp:358:19: error: 'scanf_s' was not declared in this scope
scanf("%d", &test);
^
0_0_30306012_11523.cpp: At global scope:
0_0_30306012_11523.cpp:410:8: error: redefinition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp:5:8: error: previous definition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp: In function 'bool isOverlap(const Rect&, const Rect&)':
0_0_30306012_11523.cpp:419:6: error: redefinition of 'bool isOverlap(const Rect&, const Rect&)'
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp:14:6: note: 'bool isOverlap(const Rect&, const Rect&)' previously defined here
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp: In function 'Rect Make_Rect(int, int, int, int)':
0_0_30306012_11523.cpp:430:6: error: redefinition of 'Rect Make_Rect(int, int, int, int)'
Rect Make_Rect(int x1, int x2, int y1, int y2)
^
0_0_30306012_11523.cpp:25:6: note: 'Rect Make_Rect(int, int, int, int)' previously defined here
Rect Make_Rect(int x1, int x2, int y1, int y2)
^
0_0_30306012_11523.cpp: In function 'int main()':
0_0_30306012_11523.cpp:435:5: error: redefinition of 'int main()'
int main()
^
0_0_30306012_11523.cpp:30:5: note: 'int main()' previously defined here
int main()
^
0_0_30306012_11523.cpp:439:19: error: 'scanf_s' was not declared in this scope
scanf("%d", &test);
^
0_0_30306012_11523.cpp: At global scope:
0_0_30306012_11523.cpp:491:8: error: redefinition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp:5:8: error: previous definition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp: In function 'bool isOverlap(const Rect&, const Rect&)':
0_0_30306012_11523.cpp:500:6: error: redefinition of 'bool isOverlap(const Rect&, const Rect&)'
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp:14:6: note: 'bool isOverlap(const Rect&, const Rect&)' previously defined here
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp: In function 'Rect Make_Rect(int, int, int, int)':
0_0_30306012_11523.cpp:511:6: error: redefinition of 'Rect Make_Rect(int, int, int, int)'
Rect Make_Rect(int x1, int x2, int y1, int y2)
^
0_0_30306012_11523.cpp:25:6: note: 'Rect Make_Rect(int, int, int, int)' previously defined here
Rect Make_Rect(int x1, int x2, int y1, int y2)
^
0_0_30306012_11523.cpp: In function 'int main()':
0_0_30306012_11523.cpp:516:5: error: redefinition of 'int main()'
int main()
^
0_0_30306012_11523.cpp:30:5: note: 'int main()' previously defined here
int main()
^
0_0_30306012_11523.cpp:520:19: error: 'scanf_s' was not declared in this scope
scanf("%d", &test);
^
0_0_30306012_11523.cpp: At global scope:
0_0_30306012_11523.cpp:572:8: error: redefinition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp:5:8: error: previous definition of 'struct Rect'
struct Rect {
^
0_0_30306012_11523.cpp: In function 'bool isOverlap(const Rect&, const Rect&)':
0_0_30306012_11523.cpp:581:6: error: redefinition of 'bool isOverlap(const Rect&, const Rect&)'
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp:14:6: note: 'bool isOverlap(const Rect&, const Rect&)' previously defined here
bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
^
0_0_30306012_11523.cpp: In function 'Rect Make_Rect(int, int, int, int)':
0_0_30306012_11523.cpp:592:6: error: redefinition of 'Rect Make_Rect(int, int, int, int)'
Rect Make_Rect
|