結果
| 問題 | 
                            No.1101 鼻水
                             | 
                    
| コンテスト | |
| ユーザー | 
                             marcypy
                         | 
                    
| 提出日時 | 2021-06-02 06:31:03 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 291 bytes | 
| コンパイル時間 | 221 ms | 
| コンパイル使用メモリ | 82,760 KB | 
| 実行使用メモリ | 53,872 KB | 
| 最終ジャッジ日時 | 2024-11-14 03:57:37 | 
| 合計ジャッジ時間 | 2,137 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 WA * 1 | 
| other | AC * 21 WA * 1 | 
ソースコード
v,t,p=map(int,input().split())
#条件
def is_ok(time):
    return (p+1)*v + (time-1)//t<time
def meguru_bisect(ng,ok):
    while abs(ng-ok)>1:
        mid=(ng+ok)//2
        if is_ok(mid):
            ok=mid
        else:
            ng=mid
    return ok
print(meguru_bisect(0,10**18))
            
            
            
        
            
marcypy