結果

問題 No.1101 鼻水
ユーザー tomohiro igawatomohiro igawa
提出日時 2021-08-19 12:27:37
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 212 bytes
コンパイル時間 836 ms
コンパイル使用メモリ 82,384 KB
実行使用メモリ 54,128 KB
最終ジャッジ日時 2024-10-12 10:41:56
合計ジャッジ時間 2,145 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

import bisect
def solve():
    V,T,P = map(int,input().split())
    ans = V * (P+1)-1
    #print(ans)
    tmp=ans//T+1
    ans+=tmp+(ans%T+tmp)//T
    ans+=1
    print(ans)

if __name__ == "__main__":
    solve()
0