记录详情

Wrong Answer

/in/foo.cc: In function 'int runnian(int)':
/in/foo.cc:6:28: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  if(i%4==0&&i%100!=0||i&400==0)
                         ~~~^~~
/in/foo.cc:6:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(i%4==0&&i%100!=0||i&400==0)
     ~~~~~~^~~~~~~~~~
/in/foo.cc:5:6: warning: unused variable 'count' [-Wunused-variable]
  int count;
      ^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 224.0 KiB
#2 Wrong Answer 1ms 216.0 KiB

信息

递交者
类型
递交
题目
P1182 闰年祝福
比赛
2020年互联网创新创业科技节程序设计大赛
语言
C++
递交时间
2020-12-09 13:35:20
评测时间
2020-12-09 13:35:20
评测机
分数
0
总耗时
3ms
峰值内存
224.0 KiB