Wrong Answer
/in/foo.cc: In member function 'void Complex::Output()': /in/foo.cc:27:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(real=0) ^ /in/foo.cc:32:24: warning: format '%d' expects a matching 'int' argument [-Wformat=] printf("%d+%di",real); ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1011 OO2-1 复数类的算术、赋值运算符的重载
- 语言
- C++
- 递交时间
- 2019-03-24 19:03:40
- 评测时间
- 2019-03-24 19:03:40
- 评测机
- 分数
- 0
- 总耗时
- 1ms
- 峰值内存
- 200.0 KiB