/ tree /

记录详情

Accepted

foo.cc: In function ‘int main()’:
foo.cc:7:19: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
    7 |         if(x%4==0 && x%100!=0||x%400==0)
      |            ~~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 504.0 KiB
#2 Accepted 2ms 760.0 KiB
#3 Accepted 2ms 504.0 KiB
#4 Accepted 2ms 504.0 KiB
#5 Accepted 2ms 764.0 KiB

信息

递交者
类型
递交
题目
P1004 无
语言
C++
递交时间
2025-04-05 13:39:57
评测时间
2025-04-05 13:39:57
评测机
分数
100
总耗时
12ms
峰值内存
764.0 KiB