#include #include using namespace std; int quersumme(int bla){ float stellen = ceil(log10(bla)); int summe = 0; int stellen2 = stellen; for(int i=0; i<(int)stellen; i++){ int ziffer = floor(bla/pow(10,(int)stellen2-1)); bla-=ziffer*pow(10,(int)stellen2-1); summe+=ziffer; stellen2--; } return summe; } string canConstruct(vector a) { // Return "Yes" or "No" denoting whether you can construct the required number. int qs = 0; for(int z=0; z> t; for(int a0 = 0; a0 < t; a0++){ int n; cin >> n; vector a(n); for(int a_i = 0; a_i < n; a_i++){ cin >> a[a_i]; } string result = canConstruct(a); cout << result << endl; } return 0; }