记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:18:21: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   18 |  for(int i=1;i+(1<<j-1)<=n;i++)
      |                    ~^~
foo.cc:20:37: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   20 |      f[i][j]=max(f[i][j-1],f[i+(1<<j-1)][j-1]);
      |                                    ~^~
foo.cc:21:37: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   21 |      d[i][j]=min(d[i][j-1],d[i+(1<<j-1)][j-1]);
      |                                    ~^~
foo.cc:25:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   25 |         scanf("%d%d",&x,&y);
      |         ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 512.0 KiB
#5 Accepted 7ms 1.375 MiB
#6 Accepted 14ms 3.25 MiB
#7 Accepted 59ms 9.875 MiB
#8 Accepted 85ms 10.242 MiB
#9 Accepted 97ms 10.992 MiB

信息

递交者
类型
递交
题目
奶牛排队
题目数据
下载
语言
C++
递交时间
2018-09-19 20:07:30
评测时间
2022-08-06 00:15:17
评测机
分数
90
总耗时
274ms
峰值内存
10.992 MiB