记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:11: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
   10 |     if(b^3+c^3+d^3==a){
      |          ~^~
/in/foo.cc:10:15: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
   10 |     if(b^3+c^3+d^3==a){
      |              ~^~
/in/foo.cc:10:19: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
   10 |     if(b^3+c^3+d^3==a){
      |                  ~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 532.0 KiB

信息

递交者
类型
自测
题目
P1017 contest1-3 水仙花数
语言
C++
递交时间
2026-11-13 20:11:46
评测时间
2026-11-13 20:11:46
评测机
分数
10
总耗时
2ms
峰值内存
532.0 KiB