/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int get(int)':
/in/foo.cc:23:10: warning: operation on 'l' may be undefined [-Wsequence-point]
  else f[l=Find(1,len,a[i])]=min(f[l],a[i]);return len;
         ~^~~~~~~~~~~~~~~~~
/in/foo.cc:23:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  else f[l=Find(1,len,a[i])]=min(f[l],a[i]);return len;
  ^~~~
/in/foo.cc:23:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
  else f[l=Find(1,len,a[i])]=min(f[l],a[i]);return len;
                                            ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:34:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(l>=a[num])num--;num++;
   ^~
/in/foo.cc:34:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(l>=a[num])num--;num++;
                      ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 15ms 2.305 MiB
#2 Accepted 1ms 200.0 KiB
#3 Accepted 2ms 2.191 MiB
#4 Accepted 1ms 324.0 KiB
#5 Accepted 1ms 328.0 KiB
#6 Accepted 1ms 324.0 KiB
#7 Accepted 2ms 2.195 MiB
#8 Accepted 40ms 1.398 MiB
#9 Accepted 6ms 2.301 MiB
#10 Accepted 32ms 1.367 MiB

信息

递交者
类型
递交
题目
P1369 难解的问题
语言
C++
递交时间
2019-10-01 09:47:39
评测时间
2019-10-01 09:47:39
评测机
分数
90
总耗时
107ms
峰值内存
2.305 MiB