/* * FileName: code_fix * CreatedDate: 2020-05-31 02:35:13 +0900 * LastModified: 2020-05-31 02:53:31 +0900 */ #include #include int dp[101][10001]; int main(void){ int n;scanf("%d",&n); int sum=0; int *w = malloc(n*sizeof(int)); for(int i=0;i