結果

問題 No.1764 Square
ユーザー kfield1950kfield1950
提出日時 2021-12-12 00:00:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 178 bytes
コンパイル時間 436 ms
コンパイル使用メモリ 87,096 KB
実行使用メモリ 71,312 KB
最終ジャッジ日時 2023-09-27 13:33:21
合計ジャッジ時間 1,998 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,288 KB
testcase_01 AC 72 ms
71,036 KB
testcase_02 AC 74 ms
71,192 KB
testcase_03 AC 72 ms
71,312 KB
testcase_04 AC 73 ms
71,112 KB
testcase_05 AC 76 ms
71,144 KB
testcase_06 AC 72 ms
71,308 KB
testcase_07 AC 72 ms
71,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

k = int(input())

que = ['AE','B','C','D']

for i in range(k):
    plus = que[i%4][0]
    que[(i+1)%4]+=plus
    que[i%4] = que[i%4][1:]
    
for i in range(4):
    print(que[i])
0