結果
| 問題 | No.2228 Creeping Ghost |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-02-24 23:21:13 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 421 bytes |
| 記録 | |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 85,508 KB |
| 実行使用メモリ | 337,640 KB |
| 最終ジャッジ日時 | 2026-04-04 03:42:17 |
| 合計ジャッジ時間 | 11,865 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 4 TLE * 3 |
ソースコード
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)