結果

問題 No.2228 Creeping Ghost
ユーザー wolgnikwolgnik
提出日時 2023-02-24 22:05:36
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 246 bytes
コンパイル時間 1,227 ms
コンパイル使用メモリ 86,528 KB
実行使用メモリ 81,728 KB
最終ジャッジ日時 2023-10-11 06:17:37
合計ジャッジ時間 2,882 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
70,964 KB
testcase_01 AC 72 ms
70,808 KB
testcase_02 AC 72 ms
70,768 KB
testcase_03 AC 73 ms
70,880 KB
testcase_04 AC 72 ms
70,848 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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

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

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