結果
| 問題 |
No.1764 Square
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-15 16:40:12 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 38 ms / 2,000 ms |
| コード長 | 172 bytes |
| コンパイル時間 | 148 ms |
| コンパイル使用メモリ | 82,512 KB |
| 実行使用メモリ | 53,700 KB |
| 最終ジャッジ日時 | 2024-09-22 08:29:04 |
| 合計ジャッジ時間 | 1,036 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 |
ソースコード
K = int(input())
queue= [['A','E'],['B'],['C'],['D']]
for i in range(K):
queue[(i+1)%4].append(queue[i%4][0])
del queue[i%4][0]
for i in queue:
print(*i,sep='')