记录详情

Wrong Answer

/in/foo.cc: In constructor 'Quadrilateral::Quadrilateral(int, int, int, int, int, int, int, int)':
/in/foo.cc:31:7: warning: 'Quadrilateral::y1' will be initialized after [-Wreorder]
   int y1,y2,y3,y4; 
       ^~
/in/foo.cc:30:10: warning:   'int Quadrilateral::x2' [-Wreorder]
   int x1,x2,x3,x4;
          ^~
/in/foo.cc:11:3: warning:   when initialized here [-Wreorder]
   Quadrilateral(int a=0,int b=0,int c=0,int d=0,int e=0,int f=0,int g=0,int h=0)
   ^~~~~~~~~~~~~
/in/foo.cc:31:10: warning: 'Quadrilateral::y2' will be initialized after [-Wreorder]
   int y1,y2,y3,y4; 
          ^~
/in/foo.cc:30:13: warning:   'int Quadrilateral::x3' [-Wreorder]
   int x1,x2,x3,x4;
             ^~
/in/foo.cc:11:3: warning:   when initialized here [-Wreorder]
   Quadrilateral(int a=0,int b=0,int c=0,int d=0,int e=0,int f=0,int g=0,int h=0)
   ^~~~~~~~~~~~~
/in/foo.cc:31:13: warning: 'Quadrilateral::y3' will be initialized after [-Wreorder]
   int y1,y2,y3,y4; 
             ^~
/in/foo.cc:30:16: warning:   'int Quadrilateral::x4' [-Wreorder]
   int x1,x2,x3,x4;
                ^~
/in/foo.cc:11:3: warning:   when initialized here [-Wreorder]
   Quadrilateral(int a=0,int b=0,int c=0,int d=0,int e=0,int f=0,int g=0,int h=0)
   ^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 220.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Wrong Answer 2ms 228.0 KiB
#4 Accepted 2ms 216.0 KiB
#5 Wrong Answer 1ms 228.0 KiB
#6 Accepted 1ms 220.0 KiB
#7 Accepted 2ms 232.0 KiB
#8 Wrong Answer 2ms 216.0 KiB
#9 Wrong Answer 1ms 228.0 KiB
#10 Accepted 1ms 220.0 KiB

信息

递交者
类型
递交
题目
P1004 11.8 Quadrilateral_Inheritance
语言
C++
递交时间
2020-03-19 22:37:39
评测时间
2020-03-19 22:37:39
评测机
分数
50
总耗时
20ms
峰值内存
232.0 KiB