记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   16 |         if(m=a*a*a+b*b*b+c*c*c)
      |            ~^~~~~~~~~~~~~~~~~~
/in/foo.cc:7:17: warning: 'm' is used uninitialized [-Wuninitialized]
    7 |         if(m<100||m>=1000){
      |            ~~~~~^~~~~~~~~
/in/foo.cc:6:13: note: 'm' was declared here
    6 |         int m;
      |             ^
# 状态 耗时 内存占用
#1 Runtime Error 2ms 476.0 KiB

信息

递交者
类型
自测
题目
P1092 xf2-5水仙花数
语言
C++
递交时间
2025-03-29 20:20:38
评测时间
2025-03-29 20:20:38
评测机
分数
0
总耗时
2ms
峰值内存
476.0 KiB