Wrong Answer
foo.cc: In function ‘int main()’:
foo.cc:10:17: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
10 | if(m=x^2+y^2+z^2)
| ~^~
foo.cc:10:21: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
10 | if(m=x^2+y^2+z^2)
| ~^~
foo.cc:10:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
10 | if(m=x^2+y^2+z^2)
| ~^~~~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1092 xf2-5水仙花数
- 语言
- C++
- 递交时间
- 2025-09-24 11:34:39
- 评测时间
- 2025-09-25 17:45:15
- 评测机
- 分数
- 40
- 总耗时
- 14ms
- 峰值内存
- 764.0 KiB