結果
問題 |
No.3011 あ、俺こいつの役やりたい!
|
ユーザー |
![]() |
提出日時 | 2025-01-25 13:02:20 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 365 bytes |
コンパイル時間 | 290 ms |
コンパイル使用メモリ | 82,144 KB |
実行使用メモリ | 71,600 KB |
平均クエリ数 | 11.61 |
最終ジャッジ日時 | 2025-01-25 22:30:43 |
合計ジャッジ時間 | 6,391 ms |
ジャッジサーバーID (参考情報) |
judge8 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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 print(ok - 1) exit() def is_ok(arg): print(arg) x = int(input()) if x == 0: return True else: exit() pass meguru_bisect(1,10**9)