记录详情

Wrong Answer

/in/foo.cc: In member function 'Complex& Complex::operator=(const Complex&)':
/in/foo.cc:24:9: warning: no return statement in function returning non-void [-Wreturn-type]
   23 |                 imagePart = b.imagePart;
  +++ |+  return *this;
   24 |         }
      |         ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 476.0 KiB
#2 Wrong Answer 1ms 540.0 KiB
#3 Wrong Answer 1ms 536.0 KiB
#4 Wrong Answer 1ms 532.0 KiB
#5 Wrong Answer 1ms 320.0 KiB

信息

递交者
类型
递交
题目
P1012 OO2-2 复数类的比较运算符重载
语言
C++
递交时间
2025-03-24 08:31:29
评测时间
2025-03-24 08:31:29
评测机
分数
0
总耗时
9ms
峰值内存
540.0 KiB