/ TYWZ /

记录详情

Accepted

/in/foo.cc: In function 'int query(int, int)':
/in/foo.cc:54:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(dep[x]<dep[y]) swap(x,y); cnnt=cnnt+dep[x]-dep[y];
  ^~
/in/foo.cc:54:31: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if(dep[x]<dep[y]) swap(x,y); cnnt=cnnt+dep[x]-dep[y];
                               ^~~~
# 状态 耗时 内存占用
#1 Accepted 6ms 4.195 MiB
#2 Accepted 5ms 4.324 MiB
#3 Accepted 5ms 2.324 MiB
#4 Accepted 9ms 2.699 MiB
#5 Accepted 10ms 4.336 MiB
#6 Accepted 28ms 7.41 MiB
#7 Accepted 47ms 7.613 MiB
#8 Accepted 114ms 13.883 MiB
#9 Accepted 88ms 10.605 MiB
#10 Accepted 103ms 10.539 MiB

信息

递交者
类型
递交
题目
P1026 反应力考验
比赛
高一年级信息学奥赛模拟考(四)
语言
C++
递交时间
2019-04-07 17:42:59
评测时间
2019-04-07 17:42:59
评测机
分数
100
总耗时
419ms
峰值内存
13.883 MiB