Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:4: warning: statement has no effect [-Wunused-value]
  bb-1;
  ~~^~
/in/foo.cc:10:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(aa%4==0 && aa%100!=0 || aa%400==0)
     ~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:26:5: warning: statement has no effect [-Wunused-value]
   aa-1;
   ~~^~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 336.0 KiB
#2 Wrong Answer 1ms 332.0 KiB
#3 Wrong Answer 1ms 328.0 KiB
#4 Accepted 1ms 336.0 KiB
#5 Accepted 1ms 400.0 KiB

信息

递交者
类型
递交
题目
P1110 OO1-4 日期类Date
语言
C++
递交时间
2024-11-22 23:36:37
评测时间
2024-11-22 23:36:37
评测机
分数
40
总耗时
7ms
峰值内存
400.0 KiB