记录详情

Time Exceeded

/in/foo.c: In function 'FindMaxNeg':
/in/foo.c:17:15: warning: operation on 'j' may be undefined [-Wsequence-point]
    if(b[j]>b[j=1])
              ~^~
/in/foo.c:14:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=0;i<m-1;i++)
  ^~~
/in/foo.c:24:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   return b[m-1];
   ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Wrong Answer 1ms 232.0 KiB
#3 Accepted 0ms 248.0 KiB
#4 Wrong Answer 0ms 228.0 KiB
#5 Time Exceeded ≥1005ms ≥228.0 KiB

信息

递交者
类型
递交
题目
A9-3 数组中最大的负数
语言
C
递交时间
2024-02-22 17:15:57
评测时间
2024-02-22 17:15:57
评测机
分数
40
总耗时
≥1009ms
峰值内存
≥248.0 KiB