记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:20: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
    7 |     if(a==((a%10)^3+(a/10%10)^3+(a/100%10)^3)){
      |                   ~^~~~~~~~~~
/in/foo.cc:7:32: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
    7 |     if(a==((a%10)^3+(a/10%10)^3+(a/100%10)^3)){
      |                               ~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 476.0 KiB
#2 Accepted 2ms 428.0 KiB
#3 Wrong Answer 2ms 480.0 KiB
#4 Wrong Answer 1ms 536.0 KiB
#5 Accepted 1ms 348.0 KiB

信息

递交者
类型
递交
题目
P1017 contest1-3 水仙花数
比赛
2026-11-13 C++实测1
语言
C++
递交时间
2026-11-13 20:40:08
评测时间
2026-11-13 20:40:08
评测机
分数
60
总耗时
9ms
峰值内存
536.0 KiB