/ OPS /

记录详情

Accepted

/in/foo.cc: In function 'int rn(int)':
/in/foo.cc:13:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   13 |  if (a % 4 == 0 && a % 100 != 0 || a % 400 == 0) return 1;
      |      ~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:6: warning: unused variable 'cnt' [-Wunused-variable]
   29 |  int cnt = 0;
      |      ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 404.0 KiB

信息

递交者
类型
递交
题目
P1355 日期排序计算
语言
C++
递交时间
2024-05-16 16:30:44
评测时间
2024-05-16 16:30:44
评测机
分数
10
总耗时
3ms
峰值内存
404.0 KiB