记录详情

Wrong Answer

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

信息

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