結果

問題 No.3069 Invisible Speedrun
ユーザー Shirotsume
提出日時 2025-03-21 22:08:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 183 ms / 2,000 ms
コード長 479 bytes
コンパイル時間 328 ms
コンパイル使用メモリ 82,604 KB
実行使用メモリ 91,040 KB
平均クエリ数 585.15
最終ジャッジ日時 2025-03-21 22:08:26
合計ジャッジ時間 13,172 ms
ジャッジサーバーID
(参考情報)
judge6 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 80
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys, time, random
from collections import deque, Counter, defaultdict
def debug(*x):print('debug:',*x, file=sys.stderr)
input = lambda: sys.stdin.readline().rstrip()
ii = lambda: int(input())
mi = lambda: map(int, input().split())
li = lambda: list(mi())
inf = 2 ** 61 - 1
mod = 998244353

n = ii()
cnt = 0
while True:
    if cnt % 2 == 0:
        print('D', flush=True)
    else:
        print('R', flush=True)
    cnt += 1
    s = ii()
    
    if s != 0:
        exit()
0