/ Vijos /

记录详情

Accepted

foo.cc: In function ‘bool operator<(stu, stu)’:
foo.cc:16:91: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
   16 |                 return a1.stumoney_ans>a2.stumoney_ans || a1.stumoney_ans==a2.stumoney_ans&&a1.id<a2.id;
      |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 540.0 KiB
#2 Accepted 3ms 576.0 KiB
#3 Accepted 3ms 328.0 KiB
#4 Accepted 2ms 536.0 KiB
#5 Accepted 3ms 496.0 KiB
#6 Accepted 2ms 536.0 KiB
#7 Accepted 2ms 536.0 KiB
#8 Accepted 2ms 536.0 KiB
#9 Accepted 2ms 324.0 KiB
#10 Accepted 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2024-03-28 21:58:21
评测时间
2024-03-28 21:58:21
评测机
分数
100
总耗时
29ms
峰值内存
576.0 KiB