結果
| 問題 |
No.1764 Square
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-06-12 20:13:42 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 33 ms / 2,000 ms |
| コード長 | 185 bytes |
| コンパイル時間 | 136 ms |
| コンパイル使用メモリ | 82,420 KB |
| 実行使用メモリ | 52,352 KB |
| 最終ジャッジ日時 | 2024-06-11 20:36:34 |
| 合計ジャッジ時間 | 960 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 |
ソースコード
queues = [["A", "E"], ["B"], ["C"], ["D"]]
K = int(input())
for R in range(K):
queues[(R + 1) % 4].append(queues[R % 4][0])
del queues[R % 4][0]
for R in queues:
print(''.join(R))