結果

問題 No.1101 鼻水
ユーザー uni_python
提出日時 2020-07-03 22:03:33
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 304 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 82,536 KB
実行使用メモリ 53,812 KB
最終ジャッジ日時 2024-09-17 01:07:50
合計ジャッジ時間 1,993 ms
ジャッジサーバーID
(参考情報)
judge3 / judge6
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10 WA * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    V,T,P=MI()
    V=V*(P+1)
    ans=1+V%(T-1) + (V//(T-1))*T

                
    print(ans)
        

    


main()
0