結果
| 問題 |
No.3011 あ、俺こいつの役やりたい!
|
| ユーザー |
|
| 提出日時 | 2025-01-25 12:56:52 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 750 bytes |
| コンパイル時間 | 370 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 29,168 KB |
| 平均クエリ数 | 21.09 |
| 最終ジャッジ日時 | 2025-01-25 22:27:03 |
| 合計ジャッジ時間 | 8,685 ms |
|
ジャッジサーバーID (参考情報) |
judge10 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 30 RE * 14 |
ソースコード
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
lower = 0
upper = pow(10,9)
for i in range(29):
mid = (lower+upper)//2
print(mid)
r = ii()
if r == 0:
lower = mid
else:
upper = mid
print(lower)
# N,M = ii()
# ans= 0
# for _ in range(N):
# S,R = input().split()
# S = list(S)
# R = int(R)
# if R>=1200:
# for i in range(4):
# if S[i] == 'x':
# ans+=1
# break
# print(ans)