记录详情

Runtime Error

/in/foo.cc: In function 'int occurrence_times(int*, int)':
/in/foo.cc:26:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   26 |                 if(b[i]>max||b[i]==max&&i<num)
      |                              ~~~~~~~~~^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 528.0 KiB
#2 Runtime Error 2ms 412.0 KiB
#3 Runtime Error 2ms 536.0 KiB
#4 Runtime Error 2ms 532.0 KiB
#5 Runtime Error 2ms 532.0 KiB

信息

递交者
类型
递交
题目
3-1 整数中的数字
语言
C++
递交时间
2025-03-23 23:28:46
评测时间
2025-03-23 23:28:46
评测机
分数
20
总耗时
11ms
峰值内存
536.0 KiB