結果

問題 No.1101 鼻水
ユーザー tikitaka1201tikitaka1201
提出日時 2020-07-04 10:47:38
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 197 bytes
コンパイル時間 242 ms
コンパイル使用メモリ 81,816 KB
実行使用メモリ 53,548 KB
最終ジャッジ日時 2024-09-18 18:49:36
合計ジャッジ時間 1,746 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10 WA * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

v,t,p=map(int,input().split())
hi=10**40
low=0
while abs(hi-low)>1:
    mid=(hi+low)//2
    x=(mid//t+1)+v*(p+1)
    if x<mid:
        hi=mid
    else:
        low=mid
    #print(hi,low)
print(low)
0