結果

問題 No.2228 Creeping Ghost
ユーザー chineristACchineristAC
提出日時 2023-02-24 23:21:37
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 421 bytes
コンパイル時間 287 ms
コンパイル使用メモリ 10,752 KB
実行使用メモリ 16,272 KB
最終ジャッジ日時 2023-10-11 06:56:56
合計ジャッジ時間 4,309 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
16,272 KB
testcase_01 AC 21 ms
9,104 KB
testcase_02 AC 21 ms
9,228 KB
testcase_03 AC 21 ms
9,080 KB
testcase_04 AC 21 ms
9,084 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