/ TYWZ /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<=n;++i)
              ~^~~
/in/foo.cc:18:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<=n;++i){
              ~^~~
/in/foo.cc:19:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int q=0;q<=cost[i]-1;++q){
               ~^~~~~~~~~~~
/in/foo.cc:22:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int q=cost[i];q<=money;++q){
                     ~^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 26ms 69.984 MiB
#2 Accepted 26ms 69.727 MiB
#3 Accepted 26ms 70.707 MiB
#4 Accepted 26ms 70.996 MiB
#5 Accepted 21ms 70.504 MiB
#6 Accepted 11ms 29.211 MiB
#7 Accepted 19ms 55.355 MiB
#8 Wrong Answer 26ms 69.316 MiB
#9 Wrong Answer 14ms 54.328 MiB
#10 Wrong Answer 19ms 70.203 MiB

信息

递交者
类型
递交
题目
Basic Knapsack
比赛
2019.1.30测验
语言
C++
递交时间
2019-01-30 16:08:16
评测时间
2019-01-30 16:08:16
评测机
分数
70
总耗时
219ms
峰值内存
70.996 MiB