/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:28:41: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  for(int i = 1;i<=n;i++)scanf("%d",&a[i]);
                                         ^
/in/foo.cc:43:35: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    f[i][j]=max(f[i][j-1],f[i+(1<<j-1)][j-1]);
                                  ~^~
/in/foo.cc:44:38: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    f2[i][j]=min(f2[i][j-1],f2[i+(1<<j-1)][j-1]);
                                     ~^~
# 状态 耗时 内存占用
#1 Accepted 1ms 404.0 KiB
#2 Wrong Answer 2ms 416.0 KiB
#3 Wrong Answer 8ms 3.645 MiB
#4 Wrong Answer 97ms 32.516 MiB
#5 Wrong Answer 96ms 32.516 MiB
#6 Wrong Answer 85ms 32.516 MiB
#7 Wrong Answer 86ms 32.512 MiB
#8 Wrong Answer 105ms 32.516 MiB
#9 Accepted 86ms 32.52 MiB
#10 Accepted 13ms 1.188 MiB

信息

递交者
类型
递交
题目
P1548 奶牛排队
语言
C++
递交时间
2021-10-12 00:35:28
评测时间
2021-10-12 00:35:28
评测机
分数
30
总耗时
584ms
峰值内存
32.52 MiB