結果
問題 |
No.2614 Delete ABC
|
ユーザー |
|
提出日時 | 2024-01-26 21:26:20 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 169 bytes |
コンパイル時間 | 150 ms |
コンパイル使用メモリ | 81,984 KB |
実行使用メモリ | 53,900 KB |
最終ジャッジ日時 | 2024-09-28 07:38:25 |
合計ジャッジ時間 | 693 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | WA * 2 |
ソースコード
for _ in range(int(input())): N = int(input()) a = 'ABACBC' b = 'ABACABCBC' ans = '' if N % 2 == 0: ans = a * N else: ans = a * (N - 3) + b print(ans)