結果
問題 | No.1764 Square |
ユーザー | hir355 |
提出日時 | 2021-11-26 22:25:00 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 2,000 ms |
コード長 | 219 bytes |
コンパイル時間 | 140 ms |
コンパイル使用メモリ | 82,256 KB |
実行使用メモリ | 54,976 KB |
最終ジャッジ日時 | 2024-06-29 18:08:57 |
合計ジャッジ時間 | 908 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 |
ソースコード
from collections import deque x = [deque('AE'), deque('B'), deque('C'), deque('D')] k = int(input()) for i in range(k): p = x[i % 4].popleft() x[(i + 1) % 4].append(p) for i in range(4): print(*x[i], sep='')