Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:41: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int (*)[100010]' [-Wformat=]
         scanf("%d%d%d",&num,&weight,&val);
                                         ^
/in/foo.cc:20:28: warning: 'weig' may be used uninitialized in this function [-Wmaybe-uninitialized]
             weight[count]=j*weig;
                           ~^~~~~
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - Basic Knapsack II
 - 语言
 - C++
 - 递交时间
 - 2019-02-02 11:16:06
 - 评测时间
 - 2019-02-02 11:16:06
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 191ms
 - 峰值内存
 - 396.0 KiB