#include #include #include int n,k,a[101],f[1001],ans; int max(int x,int y) { if (x>y) return x; else return y; } void find(int x,int y) { int i; if (y>=ans) return; if (x>n) { if (y