/ OPS /

记录详情

Accepted

/in/foo.cc: In function 'bool cmp(schedule, schedule)':
/in/foo.cc:13:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  return (n.year<m.year||n.year==m.year&&n.month<m.month||n.year==m.year&&n.month==m.month&&n.day<m.day);
                                       ^
/in/foo.cc:13:90: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  return (n.year<m.year||n.year==m.year&&n.month<m.month||n.year==m.year&&n.month==m.month&&n.day<m.day);
                                                                                          ^
# 状态 耗时 内存占用
#1 Accepted 1ms 200.0 KiB

信息

递交者
类型
递交
题目
P1045 按日期排序
语言
C++
递交时间
2023-03-09 18:22:19
评测时间
2023-03-09 18:22:19
评测机
分数
10
总耗时
1ms
峰值内存
200.0 KiB