/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:46: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
      maxv[j][i]=max(maxv[j][i-1],maxv[j+(1<<i-1)][i-1]),
                                             ~^~
/in/foo.cc:19:46: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
      minv[j][i]=min(minv[j][i-1],minv[j+(1<<i-1)][i-1]);
                                             ~^~
/in/foo.cc:25:7: warning: unused variable 'ans_min' [-Wunused-variable]
   int ans_min=min(minv[l][lg[r-l+1]],minv[r+1-(1<<lg[r-l+1])][lg[r-l+1]]);
       ^~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 2.477 MiB
#2 Wrong Answer 5ms 4.738 MiB
#3 Wrong Answer 18ms 6.367 MiB
#4 Wrong Answer 16ms 7.988 MiB
#5 Wrong Answer 29ms 12.852 MiB
#6 Runtime Error 56ms 19.5 MiB
#7 Runtime Error 4ms 640.0 KiB
#8 Runtime Error 7ms 2.461 MiB
#9 Runtime Error 2ms 728.0 KiB
#10 Runtime Error 5ms 740.0 KiB

信息

递交者
类型
递交
题目
P1514 天才的记忆
语言
C++
递交时间
2018-04-30 08:39:17
评测时间
2018-04-30 08:39:17
评测机
分数
0
总耗时
150ms
峰值内存
19.5 MiB