結果
問題 | No.3069 Invisible Speedrun |
ユーザー |
|
提出日時 | 2025-03-21 23:46:55 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 367 bytes |
コンパイル時間 | 784 ms |
コンパイル使用メモリ | 82,884 KB |
実行使用メモリ | 92,124 KB |
平均クエリ数 | 586.94 |
最終ジャッジ日時 | 2025-03-21 23:47:10 |
合計ジャッジ時間 | 13,565 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 25 WA * 48 RE * 7 |
ソースコード
n=int(input()) for i in range(2*n): if i%2==0: print("R",flush=1) else: print("D",flush=1) s=int(input()) if s==1: exit() if i==n+2 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()