結果
| 問題 | No.2614 Delete ABC |
| コンテスト | |
| ユーザー |
PNJ
|
| 提出日時 | 2024-01-26 21:26:47 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 58 ms / 2,000 ms |
| + 210µs | |
| コード長 | 286 bytes |
| 記録 | |
| コンパイル時間 | 220 ms |
| コンパイル使用メモリ | 95,828 KB |
| 実行使用メモリ | 82,944 KB |
| 最終ジャッジ日時 | 2026-09-05 14:54:27 |
| 合計ジャッジ時間 | 1,262 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 2 |
ソースコード
T = int(input())
for _ in range(T):
N = int(input())
S = []
for i in range(N//2):
S.append('A')
S.append('B')
S.append('A')
S.append('C')
S.append('B')
S.append('C')
if N % 2 == 1:
S.append('A')
S.append('B')
S.append('C')
print(''.join(S))
PNJ