记录详情

Accepted

/in/foo.cc: In member function 'bool DateTime::isLeapyear()':
/in/foo.cc:18:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(year%400==0||year%4==0&&year%100!=0)
                   ~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc: In function 'void count(DateTime&, int)':
/in/foo.cc:31:6: warning: unused variable 'flag' [-Wunused-variable]
  int flag;
      ^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 196.0 KiB
#2 Accepted 1ms 204.0 KiB
#3 Accepted 1ms 200.0 KiB
#4 Accepted 2ms 204.0 KiB
#5 Accepted 1ms 196.0 KiB

信息

递交者
类型
递交
题目
P1007 OO1-5 日期时间类DateTime
语言
C++
递交时间
2019-03-31 19:03:35
评测时间
2019-03-31 19:03:35
评测机
分数
100
总耗时
9ms
峰值内存
204.0 KiB