結果
問題 |
No.3011 あ、俺こいつの役やりたい!
|
ユーザー |
![]() |
提出日時 | 2025-01-25 12:54:15 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 350 bytes |
コンパイル時間 | 480 ms |
コンパイル使用メモリ | 82,280 KB |
実行使用メモリ | 71,252 KB |
平均クエリ数 | 11.61 |
最終ジャッジ日時 | 2025-01-25 22:26:06 |
合計ジャッジ時間 | 5,929 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 41 WA * 3 |
ソースコード
from sys import exit def meguru_bisect(ng,ok): while (abs(ok - ng) > 1): mid = (ok + ng + 1) // 2 if is_ok(mid): ok = mid else: ng = mid return ok def is_ok(arg): print(arg) x = int(input()) if x == 0: return True else: exit() pass meguru_bisect(1,10**9)