Search found 1 match
- Fri Mar 18, 2011 11:11 am
- Forum: Volume 101 (10100-10199)
- Topic: 10130 - SuperSale
- Replies: 76
- Views: 24800
Re: 10130 - SuperSales
Can please somebody help me with the code,it is getting run time error but i cant find out why????? #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace std; int value[150],weight[150],C[50][50],N,W; int knapsack(int N,int W){ int i,w,temp; // memset(C,0,sizeof C...