結果
| 問題 |
No.3011 あ、俺こいつの役やりたい!
|
| コンテスト | |
| ユーザー |
SourCreamOnion
|
| 提出日時 | 2025-01-25 13:33:28 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 710 bytes |
| コンパイル時間 | 309 ms |
| コンパイル使用メモリ | 82,840 KB |
| 実行使用メモリ | 85,924 KB |
| 平均クエリ数 | 1.77 |
| 最終ジャッジ日時 | 2025-01-25 22:50:59 |
| 合計ジャッジ時間 | 8,892 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge8 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 RE * 34 |
ソースコード
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) // 3 * 2
print(mi)
r=II()
if r==1 or r==-1:
exit()
elif r==0:
ng = mi
SourCreamOnion