結果

問題 No.3011 あ、俺こいつの役やりたい!
ユーザー nakanoj
提出日時 2025-01-25 12:42:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 67 ms / 2,000 ms
コード長 412 bytes
コンパイル時間 256 ms
コンパイル使用メモリ 82,040 KB
実行使用メモリ 69,376 KB
平均クエリ数 12.45
最終ジャッジ日時 2025-01-25 22:17:56
合計ジャッジ時間 5,669 ms
ジャッジサーバーID
(参考情報)
judge6 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 44
権限があれば一括ダウンロードができます

ソースコード

diff #

def readints():
  return list(map(int, input().split()))

def deep_recursion():
  import sys
  import pypyjit  # type: ignore
  sys.setrecursionlimit(550000)
  pypyjit.set_param('max_unroll_recursion=-1')

def main():
  hi = 10**9
  for _ in range(30):
    print(hi, flush=True)
    r = int(input())
    if r == 1:
      return
    else:
      hi //= 2


if __name__ == '__main__':
  # deep_recursion()
  main()
0