Accepted
/in/foo.cc: In member function 'void TIME::cal()':
/in/foo.cc:31:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    sum-=365+(tempy%4==0&&tempy%100!=0||tempy%400==0);
              ~~~~~~~~~~^~~~~~~~~~~~~~
/in/foo.cc:36:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     a[2]=28+(y1%4==0&&y1%100!=0||y1%400==0);
              ~~~~~~~^~~~~~~~~~~
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1007 OO1-5 日期时间类DateTime
 - 比赛
 - 《面向对象程序设计方法》课程赛事1
 - 语言
 - C++
 - 递交时间
 - 2019-03-16 11:25:15
 - 评测时间
 - 2019-03-16 11:25:15
 - 评测机
 
- 分数
 - 100
 - 总耗时
 - 8ms
 - 峰值内存
 - 208.0 KiB