結果
問題 |
No.3011 あ、俺こいつの役やりたい!
|
ユーザー |
![]() |
提出日時 | 2025-01-25 18:51:37 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 282 bytes |
コンパイル時間 | 429 ms |
コンパイル使用メモリ | 11,776 KB |
実行使用メモリ | 28,288 KB |
平均クエリ数 | 1.00 |
最終ジャッジ日時 | 2025-01-26 00:02:46 |
合計ジャッジ時間 | 11,481 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 44 |
ソースコード
import sys from sys import stdin ok = 0 ng = 10**18 while ng - ok > 1: mid = (ok + ng) // 2 print(mid,flush=True) r = sys.stdin.readline().rstrip() r = int(r) if r == 1: ok = mid exit() elif r == 0: ng = mid else: exit()