Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   10 |         if(b = 0){
      |            ~~^~~
foo.cc:13:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   13 |         if(c = 0 ){
      |            ~~^~~
foo.cc:5:19: warning: variable 'd' set but not used [-Wunused-but-set-variable]
    5 |         int a,b,c,d,e;
      |                   ^
foo.cc:5:21: warning: unused variable 'e' [-Wunused-variable]
    5 |         int a,b,c,d,e;
      |                     ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read No, expect Yes. 4ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1014 闰年
语言
C++
递交时间
2023-11-10 15:41:59
评测时间
2023-11-10 15:41:59
评测机
分数
50
总耗时
8ms
峰值内存
412.0 KiB