#include #include #include #include using namespace std; vector toAnswer; bool consecutive(string resp) { for(int i=0; i<3; i++) if(resp[i+1]-resp[i] != 1) return false; return true; } int isPowerOfTwo (string myString) { stringstream converter(myString); int x = 0; converter >> x; x /= 10; return ((x != 0) && ((x & (~x + 1)) == x)); } bool valid(string numere) { stringstream converter(numere); int x = 0; converter >> x; if ( x/1000> 24) return false; x = x % 1000; x /= 10; if(x > 60) return false; return true; } int main() { int n; cin >> n; for(int i=0; i> ans; toAnswer.push_back(ans); } for(int i=0;i