Accepted
foo.cc: In function ‘int leap(int)’:
foo.cc:6:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
    6 |         if(y%4==0&&y%100!=0||y%400==0)
      |            ~~~~~~^~~~~~~~~~
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P2691 一万天以后的日期(函数)
 - 比赛
 - 春季班中级5.4
 - 语言
 - C++
 - 递交时间
 - 2024-05-05 15:26:24
 - 评测时间
 - 2024-05-05 15:26:24
 - 评测机
 
- 分数
 - 100
 - 总耗时
 - 26ms
 - 峰值内存
 - 764.0 KiB