#include using namespace std; #include #ifndef ONLINE_JUDGE #include "debug.h" // https://github.com/Heltion/debug.h/blob/main/debug.h #else #define debug(...) (void)417 #endif using i64 = int64_t; int main() { cin.tie(nullptr)->sync_with_stdio(false); cout << fixed << setprecision(20); int t; cin >> t; for (int ti = 0; ti < t; ti += 1) { int n; cin >> n; cout << "ABAC"; for (int i = 0; i < n - 2; i += 1) { cout << "ABC"; } cout << "BC\n"; } }