結果
| 問題 | No.2228 Creeping Ghost |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-02-24 23:21:37 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 421 bytes |
| 記録 | |
| コンパイル時間 | 346 ms |
| コンパイル使用メモリ | 20,448 KB |
| 実行使用メモリ | 23,948 KB |
| 最終ジャッジ日時 | 2026-04-04 03:42:45 |
| 合計ジャッジ時間 | 4,879 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)