Submit solution
Points:
100.00 (partial)
Time limit:
3.0s
Memory limit:
64M
Input:
stdin
Output:
stdout
Author:
Problem type
Allowed languages
C, C++, GAS64, Pascal, Perl, PHP, Python, Sed, TCL, Text
Cho số nguyên dương
Ví dụ
Input
Copy
3
Output
Copy
AAA
AAB
ABA
BAA
BAB
Comments