結果

問題 No.3011 あ、俺こいつの役やりたい!
ユーザー Thebai2357
提出日時 2025-01-25 13:19:39
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 460 bytes
コンパイル時間 288 ms
コンパイル使用メモリ 12,160 KB
実行使用メモリ 27,776 KB
平均クエリ数 11.50
最終ジャッジ日時 2025-01-25 22:43:05
合計ジャッジ時間 5,578 ms
ジャッジサーバーID
(参考情報)
judge9 / judge10
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 44
権限があれば一括ダウンロードができます

ソースコード

diff #

def ii():
    S = input()
    return map(int,S.split()) if " " in S else int(S)
def ai(N = 0):
    return [list(map(int,input().split())) for _ in range(N)] if N!= 0 else list(map(int,input().split()))
def yn(BOOL):
    print("Yes" if BOOL==1 else "No")

import sys,math,heapq,bisect

from collections import defaultdict



upper = pow(10,9)//2

for i in range(30):
    print(upper)
    r = ii()
    if r == 0:
        upper = upper//2
    else:
        exit()
0