Wrong Answer

/in/foo.cc: In function 'int calc(int, int*)':
/in/foo.cc:36:11: warning: operation on 'k' may be undefined [-Wsequence-point]
   else f[k=find(1,len,c[i])]=min(f[k],c[i]);
          ~^~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 9ms 1.984 MiB
#2 Accepted 5ms 1.43 MiB
#3 Accepted 3ms 1.453 MiB
#4 Accepted 2ms 1.461 MiB
#5 Accepted 2ms 1.457 MiB
#6 Accepted 2ms 1.465 MiB
#7 Accepted 3ms 1.469 MiB
#8 Accepted 28ms 3.07 MiB
#9 Accepted 4ms 1.711 MiB
#10 Accepted 20ms 3.004 MiB

信息

递交者
类型
递交
题目
P1002 难解的问题
语言
C++
递交时间
2019-05-04 10:35:46
评测时间
2019-05-04 10:35:46
评测机
分数
90
总耗时
82ms
峰值内存
3.07 MiB