F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_30307300_28212.cpp: In function 'int main()':
0_0_30307300_28212.cpp:34:19: error: 'scanf_s' was not declared in this scope
  scanf("%d", &test);
                   ^
0_0_30307300_28212.cpp: At global scope:
0_0_30307300_28212.cpp:91:8: error: redefinition of 'struct Rect'
 struct Rect {
        ^
0_0_30307300_28212.cpp:5:8: error: previous definition of 'struct Rect'
 struct Rect {
        ^
0_0_30307300_28212.cpp: In function 'bool isOverlap(const Rect&, const Rect&)':
0_0_30307300_28212.cpp:100:6: error: redefinition of 'bool isOverlap(const Rect&, const Rect&)'
 bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
      ^
0_0_30307300_28212.cpp:14:6: note: 'bool isOverlap(const Rect&, const Rect&)' previously defined here
 bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
      ^
0_0_30307300_28212.cpp: In function 'Rect Make_Rect(int, int, int, int)':
0_0_30307300_28212.cpp:111:6: error: redefinition of 'Rect Make_Rect(int, int, int, int)'
 Rect Make_Rect(int x1, int x2, int y1, int y2)
      ^
0_0_30307300_28212.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_30307300_28212.cpp: In function 'int main()':
0_0_30307300_28212.cpp:116:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_30307300_28212.cpp:30:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_30307300_28212.cpp:120:19: error: 'scanf_s' was not declared in this scope
  scanf("%d", &test);
                   ^
0_0_30307300_28212.cpp: At global scope:
0_0_30307300_28212.cpp:177:8: error: redefinition of 'struct Rect'
 struct Rect {
        ^
0_0_30307300_28212.cpp:5:8: error: previous definition of 'struct Rect'
 struct Rect {
        ^
0_0_30307300_28212.cpp: In function 'bool isOverlap(const Rect&, const Rect&)':
0_0_30307300_28212.cpp:186:6: error: redefinition of 'bool isOverlap(const Rect&, const Rect&)'
 bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
      ^
0_0_30307300_28212.cpp:14:6: note: 'bool isOverlap(const Rect&, const Rect&)' previously defined here
 bool isOverlap(const Rect &rc1, const Rect &rc2) //判断有没有重叠部分
      ^
0_0_30307300_28212.cpp: In function 'Rect Make_Rect(int, int, int, int)':
0_0_30307300_28212.cpp:197:6: error: redefinition of 'Rect Make_Rect(int, int, int, int)'
 Rect Make_Rect(int x1, int x2, int y1, int y2)
      ^
0_0_30307300_28212.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_30307300_28212.cpp: In function 'int main()':
0_0_30307300_28212.cpp:202:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_30307300_28212.cpp:30:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_30307300_28212.cpp:206:19: error: 'scanf_s' was not declared in this scope
  scanf("%d", &test);
                   ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-27 02:55:43, Gzip enabled