結果
問題 |
No.2228 Creeping Ghost
|
ユーザー |
|
提出日時 | 2023-02-24 23:21:37 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 421 bytes |
コンパイル時間 | 176 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 19,968 KB |
最終ジャッジ日時 | 2024-09-13 06:08:35 |
合計ジャッジ時間 | 4,082 ms |
ジャッジサーバーID (参考情報) |
judge4 / 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)