Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:5: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  a=m<=a<=n;
    ~^~~
/in/foo.cc:8:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(a%4==0&&a%100!=0||a%400==0)
     ~~~~~~^~~~~~~~~~
/in/foo.cc:7:5: warning: 'a' is used uninitialized in this function [-Wuninitialized]
  a=m<=a<=n;
    ~^~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 348.0 KiB
#2 Wrong Answer 1ms 356.0 KiB
#3 Wrong Answer 1ms 340.0 KiB
#4 Wrong Answer 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P2579 求闰年1级2 2023年模拟题
比赛
2024.8.2暑期初级2班练习
语言
C++
递交时间
2024-08-03 08:08:10
评测时间
2024-08-03 08:08:10
评测机
分数
0
总耗时
5ms
峰值内存
376.0 KiB