/ 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:33:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(l>=a[num])num--;num++;
   ^~
/in/foo.cc:33: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 572.0 KiB
#2 Accepted 1ms 192.0 KiB
#3 Accepted 2ms 200.0 KiB
#4 Accepted 1ms 324.0 KiB
#5 Accepted 1ms 324.0 KiB
#6 Accepted 1ms 320.0 KiB
#7 Accepted 1ms 324.0 KiB
#8 Accepted 41ms 1.395 MiB
#9 Accepted 5ms 412.0 KiB
#10 Accepted 32ms 1.359 MiB

信息

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