結果
問題 |
No.3069 Invisible Speedrun
|
ユーザー |
|
提出日時 | 2025-03-21 22:07:53 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 466 bytes |
コンパイル時間 | 338 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 87,032 KB |
平均クエリ数 | 587.74 |
最終ジャッジ日時 | 2025-03-21 22:08:07 |
合計ジャッジ時間 | 13,481 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | WA * 80 |
ソースコード
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) s = ii() if s != 0: exit()