結果

問題 No.3069 Invisible Speedrun
ユーザー miho-4
提出日時 2025-03-21 23:47:57
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 367 bytes
コンパイル時間 418 ms
コンパイル使用メモリ 82,752 KB
実行使用メモリ 92,108 KB
平均クエリ数 587.46
最終ジャッジ日時 2025-03-21 23:48:11
合計ジャッジ時間 13,218 ms
ジャッジサーバーID
(参考情報)
judge3 / judge7
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 8 WA * 71 RE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
for i in range(2*n):
	if i%2==0:
		print("D",flush=1)
	else:
		print("R",flush=1)
	s=int(input())
	if s==1:
		exit()
	if i==n+1 and s==0:
		print("U",flush=1)
		s=int(input())
		print("R",flush=1)
		s=int(input())
		print("R",flush=1)
		s=int(input())
		print("D",flush=1)
		s=int(input())
		while s==0:
			print("R",flush=1)
			s=int(input())
		exit()
0