记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:3: warning: statement has no effect [-Wunused-value]
  n<100000;
  ~^~~~~~~
/in/foo.cc:9:14: warning: comparison of constant '1000' with boolean expression is always true [-Wbool-compare]
  0<numbers[n]<=1000;
  ~~~~~~~~~~~~^~~~~~
/in/foo.cc:9:3: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  0<numbers[n]<=1000;
  ~^~~~~~~~~~~
/in/foo.cc:9:14: warning: statement has no effect [-Wunused-value]
  0<numbers[n]<=1000;
  ~~~~~~~~~~~~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 376.0 KiB
#2 Accepted 1ms 340.0 KiB

信息

递交者
类型
递交
题目
1-4 最大值的个数
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C++
递交时间
2024-08-19 04:23:52
评测时间
2024-08-19 04:23:52
评测机
分数
100
总耗时
4ms
峰值内存
376.0 KiB