Accepted

/in/foo.cc: In function 'bool cmp(work, work)':
/in/foo.cc:11:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   11 |         return a.nd>b.nd||a.nd==b.nd&&a.xh<b.xh;
      |                           ~~~~~~~~~~^~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:16:21: warning: unused variable 'x' [-Wunused-variable]
   16 |         for(int i=1,x;i<=n;i++)
      |                     ^
# 状态 耗时 内存占用
#1 Accepted 3ms 548.0 KiB
#2 Accepted 3ms 552.0 KiB
#3 Accepted 39ms 1.289 MiB
#4 Accepted 39ms 1.312 MiB
#5 Accepted 41ms 1.348 MiB
#6 Accepted 123ms 2.844 MiB
#7 Accepted 121ms 2.816 MiB
#8 Accepted 113ms 2.863 MiB
#9 Accepted 112ms 2.82 MiB
#10 Accepted 2ms 324.0 KiB

信息

递交者
类型
递交
题目
P1900 假期作业
比赛
2025.7.15高级班练习
语言
C++
递交时间
2025-07-16 14:26:34
评测时间
2025-07-16 14:26:34
评测机
分数
100
总耗时
601ms
峰值内存
2.863 MiB