记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:36:41: error: 'IEndlm3' was not declared in this scope
  Complex c1(Re1,Im1),c2(Re2,Im2),c3(Re3,IEndlm3);
                                         ^~~~~~~
/in/foo.cc:37:26: error: 'AddRe' was not declared in this scope
  int addRe=AddRe(c1,c2,c3),addIm=AddIm(c1,c2,c3);
                          ^
/in/foo.cc:38:26: error: 'MulRe' was not declared in this scope
  int mulRe=MulRe(c1,c2,c3),mulIm=MulIm(c1,c2,c3);
                          ^
/in/foo.cc:39:5: error: 'addIm' was not declared in this scope
  if(addIm<0)
     ^~~~~
/in/foo.cc:43:5: error: 'mulIm' was not declared in this scope
  if(mulIm<0)
     ^~~~~

信息

递交者
类型
自测
题目
P1011 OO2-1 复数类的算术、赋值运算符的重载
语言
C++
递交时间
2024-04-05 00:21:21
评测时间
2024-04-05 00:21:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes