#include using namespace std; int n, m; vector > shops; int analyze_shop(int i){ set creams; int total = 0; int j = i; do{ int size = shops[j].size(); for(int q=0; q shop; int c; scanf("%d", &c); for(int j=0; j