結果
問題 |
No.2228 Creeping Ghost
|
ユーザー |
|
提出日時 | 2023-02-24 23:21:13 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 421 bytes |
コンパイル時間 | 272 ms |
コンパイル使用メモリ | 82,544 KB |
実行使用メモリ | 296,448 KB |
最終ジャッジ日時 | 2024-09-13 06:08:16 |
合計ジャッジ時間 | 4,215 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 1 TLE * 1 -- * 5 |
ソースコード
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)