I use DP method to solve the problem,but still got WA. Who can give me test data to test my program? Thanks in advance! #include <stdio.h> #include <limits.h> int table[100][100]={0}; int profit[100][100]={0}; int data[100]; int n; int len; void process(){ int i,j,k,min=INT_MAX; for(i=n-1;i>=1;i--) ...