結果

問題 No.1101 鼻水
ユーザー tomohiro igawa
提出日時 2021-08-19 11:15:16
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 205 bytes
コンパイル時間 239 ms
コンパイル使用メモリ 82,452 KB
実行使用メモリ 54,304 KB
最終ジャッジ日時 2024-10-12 09:37:05
合計ジャッジ時間 2,249 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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+1+((ans)%T+tmp)//T
    print(ans)

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