#include #include using namespace std; void testuj(int N) { scanf("\n"); int pocty[27]; bitset<26> jsoutu1; char prvnirada[27]; for(int i = 0;i<27;i++) { pocty[i] = 0; } bool confirmed = false; char c = 0; jsoutu1.reset(); int xx; for(xx = 0;xx 1 && pocty[i] < N) { chybi = i + 'A'; } } if(jsoutu1.count() != 1) { printf("%d %d %c\n", possibley, possiblex, chybi); return; } else { char hledat = 0; for(int i = 0;i<27;i++) { if(jsoutu1[i] == 1) { hledat = i + 'A'; break; } } for(int i = 0;i