/ L /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(year%4==0||year%400==0&&year%100!=0)
                 ~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:5:17: warning: unused variable 'day' [-Wunused-variable]
  int year,month,day;
                 ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 836.0 KiB
#2 Accepted 1ms 904.0 KiB
#3 Accepted 2ms 404.0 KiB
#4 Accepted 2ms 324.0 KiB
#5 Accepted 2ms 376.0 KiB

信息

递交者
类型
递交
题目
P1020 某月的天数
语言
C++
递交时间
2023-07-11 14:00:23
评测时间
2023-07-11 14:01:01
评测机
分数
100
总耗时
10ms
峰值内存
904.0 KiB