Accepted

/in/foo.cc: In function 'int find(int, int, int)':
/in/foo.cc:20:10: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
  int mid,ans;
          ^~~
/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 Accepted 12ms 1.988 MiB
#2 Accepted 3ms 1.449 MiB
#3 Accepted 4ms 1.43 MiB
#4 Accepted 3ms 1.449 MiB
#5 Accepted 4ms 1.43 MiB
#6 Accepted 2ms 1.449 MiB
#7 Accepted 2ms 1.457 MiB
#8 Accepted 27ms 3.074 MiB
#9 Accepted 5ms 1.711 MiB
#10 Accepted 23ms 3.0 MiB

信息

递交者
类型
递交
题目
P1002 难解的问题
语言
C++
递交时间
2019-05-04 10:41:31
评测时间
2019-05-04 10:41:31
评测机
分数
100
总耗时
89ms
峰值内存
3.074 MiB