#include #include #include #define MAXSTRING 51 #define MAXBASE 20 int getBit (int n, int i){ return ((n & (1 << i)) != 0); } //transform string of 'y' and 'n' to a number long long toBit(char * string){ int size; int i; long long result=0LL; size=strlen(string); for(i=0;i0LL)//current configuration has an element that does not belong to poison ||(nItems>=min)){//prune search space i=b;//trick to finish inner loop } } } if((nItems