记录详情

Wrong Answer

foo.cc: In function ‘bool isleapyear(int)’:
foo.cc:5:15: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
    5 |     if (a%4==0&&a%100!=0||a%400==0)
      |         ~~~~~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 536.0 KiB
#2 Wrong Answer Read 354, expect 344. 2ms 320.0 KiB
#3 Wrong Answer Read 375, expect 365. 2ms 528.0 KiB
#4 Accepted 2ms 320.0 KiB
#5 Wrong Answer Read 375, expect 365. 2ms 536.0 KiB

信息

递交者
类型
递交
比赛
2024程序设计与竞赛作业赛第一场(喜相逢)
语言
C++
递交时间
2024-10-01 16:53:05
评测时间
2024-10-01 16:53:05
评测机
分数
40
总耗时
13ms
峰值内存
536.0 KiB