結果
問題 |
No.3069 Invisible Speedrun
|
ユーザー |
|
提出日時 | 2025-03-21 22:07:35 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 466 bytes |
コンパイル時間 | 571 ms |
コンパイル使用メモリ | 81,792 KB |
実行使用メモリ | 87,160 KB |
平均クエリ数 | 587.74 |
最終ジャッジ日時 | 2025-03-21 22:07:49 |
合計ジャッジ時間 | 13,569 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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('U', flush=True) s = ii() if s != 0: exit()