結果

問題 No.2228 Creeping Ghost
ユーザー wolgnikwolgnik
提出日時 2023-02-24 22:13:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 88 ms / 2,000 ms
コード長 218 bytes
コンパイル時間 293 ms
コンパイル使用メモリ 86,964 KB
実行使用メモリ 81,576 KB
最終ジャッジ日時 2023-10-11 06:22:45
合計ジャッジ時間 2,334 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
70,720 KB
testcase_01 AC 71 ms
70,656 KB
testcase_02 AC 73 ms
70,924 KB
testcase_03 AC 72 ms
70,836 KB
testcase_04 AC 71 ms
70,768 KB
testcase_05 AC 86 ms
80,712 KB
testcase_06 AC 79 ms
75,428 KB
testcase_07 AC 87 ms
81,408 KB
testcase_08 AC 88 ms
81,576 KB
testcase_09 AC 79 ms
75,944 KB
testcase_10 AC 80 ms
76,232 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
T = int(input())

res = ["R", "L", "R", "D"]
res += ["R", "R", "D", "D"]
res += ["L", "R", "L", "U"]
res += ["U", "U", "L", "L"]

res *= -(-T // len(res))

print("".join(res)[: T])
0