結果

問題 No.2228 Creeping Ghost
ユーザー chineristACchineristAC
提出日時 2023-02-24 23:21:13
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 421 bytes
コンパイル時間 312 ms
コンパイル使用メモリ 86,776 KB
実行使用メモリ 297,884 KB
最終ジャッジ日時 2023-10-11 06:56:35
合計ジャッジ時間 4,757 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
78,468 KB
testcase_01 AC 115 ms
74,276 KB
testcase_02 AC 117 ms
74,184 KB
testcase_03 AC 116 ms
74,288 KB
testcase_04 AC 115 ms
74,472 KB
testcase_05 TLE -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys,random,bisect
from collections import deque,defaultdict
from heapq import heapify,heappop,heappush
from itertools import permutations
from math import gcd,log

input = lambda :sys.stdin.readline().rstrip()
mi = lambda :map(int,input().split())
li = lambda :list(mi())

T = "RDRDRDRDUDULUDULULUL"
U = "RLRDRLRDRDRDUDULUDULULUL"

K = int(input())
res = T
while len(res) < K:
    res += U
res = res[:K]
print(res)
0