Knapsack problem (c++)
Created: 2008-11-06 - 11:58
#include using namespace std; int main(void){ int p; scanf("%d\n",&p); int i=0; while(i max) max=cen; } printf("%d\n",max); i++; } return 0; }
Created: 2008-11-06 - 11:58
#include using namespace std; int main(void){ int p; scanf("%d\n",&p); int i=0; while(i max) max=cen; } printf("%d\n",max); i++; } return 0; }