记录详情

Accepted

foo.cc: In function 'void in(int&)':
foo.cc:7:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(x=0;c>='0'&&c<='9';c=getchar())x=(x<<3)+(x<<1)+(c^'0');x*=fl;}
  ^~~
foo.cc:7:61: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(x=0;c>='0'&&c<='9';c=getchar())x=(x<<3)+(x<<1)+(c^'0');x*=fl;}
                                                             ^
foo.cc: In function 'int main()':
foo.cc:13:66: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
 for(rint i=1,k=n-(1<<j)+1;i<=k;i++)f[i][j]=mx(f[i][j-1],f[i+(1<<j-1)][j-1]);
                                                                 ~^~

自豪的采用jd5进行评测(github.com/masnn/jd5)
# 状态 耗时 内存占用
#1 Accepted 2ms 2.074 MiB
#2 Accepted 2ms 252.0 KiB
#3 Accepted 2ms 232.0 KiB
#4 Accepted 2ms 268.0 KiB
#5 Accepted 3ms 252.0 KiB
#6 Accepted 3ms 2.137 MiB
#7 Accepted 2ms 256.0 KiB
#8 Accepted 457ms 8.297 MiB
#9 Accepted 456ms 8.297 MiB
#10 Accepted 414ms 8.266 MiB

信息

递交者
类型
递交
题目
数列区间最大值
题目数据
下载
语言
C++
递交时间
2020-02-08 09:42:49
评测时间
2020-02-08 09:43:09
评测机
分数
100
总耗时
1343ms
峰值内存
8.297 MiB