#T764. 正方形字符串
正方形字符串
Description
Now, please output the "ACM" string of a specified size. Specifically, we require the output string to be square (the number of rows and columns must be equal).
Input Format
The first line of input is a positive integer N (N ≤ 20), indicating there are N sets of data. This is followed by N lines of data, each containing a positive integer M (M ≤ 50), representing that there are M "ACM" strings concatenated in one line.
Output Format
Output the specified square string.
2
1
2
ACM
ACM
ACM
ACMACM
ACMACM
ACMACM
ACMACM
ACMACM
ACMACM
翻译结果
CodesOnline