/ new_bzoj /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:48:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=1;i<=m;i++)scanf("%d",&x),b[x]=i;int s=m;
     ^~~
/in/foo.cc:48:48: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(int i=1;i<=m;i++)scanf("%d",&x),b[x]=i;int s=m;
                                                ^~~
/in/foo.cc:46:31: warning: unused variable 'cc' [-Wunused-variable]
     scanf("%d%d",&n,&m);int x,cc=n;
                               ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 4.324 MiB
#2 Accepted 162ms 7.211 MiB
#3 Accepted 151ms 7.191 MiB
#4 Accepted 3ms 4.332 MiB
#5 Accepted 26ms 4.703 MiB
#6 Accepted 38ms 6.598 MiB
#7 Accepted 54ms 5.094 MiB
#8 Accepted 86ms 5.434 MiB
#9 Accepted 84ms 5.461 MiB
#10 Accepted 101ms 5.555 MiB

信息

递交者
类型
递交
题目
动态逆序对
语言
C++
递交时间
2018-03-24 15:34:02
评测时间
2018-03-24 15:34:07
评测机
分数
100
总耗时
711ms
峰值内存
7.211 MiB