#include using namespace std; typedef unsigned int uint; typedef long long int ll; typedef unsigned long long int ull; #define debugv(v) printf("L%d %s => ",__LINE__,#v);for(auto e:v){cout< ",__LINE__,#m);for(int x=0;x<(w);x++){cout<<(m)[x]<<" ";}cout< ostream& operator <<(ostream &o,const pair p){o<<"("<,int> dp; int calc(int tl,vector manzok,int op){ int maxi=0; int i; if (0<=op) manzok[op]/=2; if (tl<=0) return 0; if (dp.count(manzok)) return dp[manzok]; // printf("%d ",tl); // debugv(manzok); for (i=0;i>tim>>n; for (i=0;i manzok(n); for (i=0;i>manzok[i]; } cout<