记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(j%4==0&&j%100!=0||j%400==0) cnt++;
       ~~~~~~^~~~~~~~~~
/in/foo.cc:6:7: warning: variable 'a' set but not used [-Wunused-but-set-variable]
  int *a;
       ^
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Accepted 1ms 220.0 KiB
#4 Accepted 1ms 224.0 KiB
#5 Wrong Answer 1ms 208.0 KiB

信息

递交者
类型
递交
题目
P1012 闰年祝福
语言
C++
递交时间
2021-02-21 13:36:22
评测时间
2021-02-21 13:36:22
评测机
分数
80
总耗时
7ms
峰值内存
224.0 KiB