记录详情

Accepted

/in/foo.cc: In function 'bool operator==(Complex, Complex)':
/in/foo.cc:30:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   return num1=num2;
          ~~~~^~~~~
/in/foo.cc: In function 'std::ostream& operator<<(std::ostream&, Complex&)':
/in/foo.cc:40:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 212.0 KiB
#3 Accepted 1ms 208.0 KiB
#4 Accepted 1ms 212.0 KiB
#5 Accepted 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1012 OO2-2 复数类的比较运算符重载
语言
C++
递交时间
2019-04-27 13:57:07
评测时间
2019-04-27 13:57:07
评测机
分数
100
总耗时
7ms
峰值内存
212.0 KiB