結果
| 問題 |
No.3069 Invisible Speedrun
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-21 21:42:15 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 271 ms / 2,000 ms |
| コード長 | 539 bytes |
| コンパイル時間 | 419 ms |
| コンパイル使用メモリ | 82,032 KB |
| 実行使用メモリ | 108,052 KB |
| 平均クエリ数 | 585.15 |
| 最終ジャッジ日時 | 2025-03-21 21:42:37 |
| 合計ジャッジ時間 | 19,761 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 80 |
ソースコード
import collections,sys,math,functools,operator,itertools,bisect,heapq,decimal,string,time,random
#sys.setrecursionlimit(10**9)
#sys.set_int_max_str_digits(0)
#input = sys.stdin.readline
n = int(input())
#alist = list(map(int,input().split()))
#alist = []
#s = input()
#n,m = map(int,input().split())
#for i in range(n):
# alist.append(list(map(int,input().split())))
t = 0
while True:
if t == 0:
c ='R'
else:
c = 'D'
t ^= 1
print(c,flush=True)
v = int(input())
if v == 1 or v == -1:
break