結果

問題 No.3011 あ、俺こいつの役やりたい!
ユーザー SourCreamOnion
提出日時 2025-01-25 13:35:44
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 710 bytes
コンパイル時間 372 ms
コンパイル使用メモリ 82,688 KB
実行使用メモリ 73,764 KB
平均クエリ数 16.64
最終ジャッジ日時 2025-01-25 22:51:22
合計ジャッジ時間 7,878 ms
ジャッジサーバーID
(参考情報)
judge9 / judge7
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 25 WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict, Counter, deque
from itertools import groupby, accumulate, combinations, permutations, product, combinations_with_replacement
from bisect import bisect_left, bisect_right
from operator import itemgetter
import math
from heapq import heapify, heappush, heappop

LMI=lambda:list(map(int, input().split()))
LMS=lambda:list(map(str, input().split()))
MI=lambda:map(int, input().split())
MS=lambda:map(str, input().split())
II=lambda:int(input())
IS=lambda:input().split()
LI=lambda:list(input())

ok, ng = 10**9, 0

while True:
		#真ん中の値を計算
    mi = (ok + ng) // 4 * 3
    print(mi)
    r=II()

    if r==1 or r==-1:
        exit()
    elif r==0:
        ok = mi
0