結果

問題 No.1101 鼻水
ユーザー tomohiro igawatomohiro igawa
提出日時 2021-08-19 11:15:16
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 205 bytes
コンパイル時間 253 ms
コンパイル使用メモリ 82,340 KB
実行使用メモリ 53,760 KB
最終ジャッジ日時 2024-04-20 14:05:06
合計ジャッジ時間 2,287 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
52,836 KB
testcase_01 AC 34 ms
52,284 KB
testcase_02 AC 35 ms
52,996 KB
testcase_03 AC 34 ms
52,132 KB
testcase_04 AC 33 ms
53,228 KB
testcase_05 AC 34 ms
52,484 KB
testcase_06 AC 39 ms
52,616 KB
testcase_07 AC 34 ms
53,484 KB
testcase_08 AC 36 ms
52,712 KB
testcase_09 AC 35 ms
53,300 KB
testcase_10 AC 35 ms
52,948 KB
testcase_11 AC 38 ms
52,192 KB
testcase_12 AC 34 ms
52,892 KB
testcase_13 WA -
testcase_14 AC 32 ms
53,240 KB
testcase_15 AC 34 ms
53,352 KB
testcase_16 AC 33 ms
52,416 KB
testcase_17 AC 35 ms
52,156 KB
testcase_18 AC 35 ms
53,636 KB
testcase_19 AC 35 ms
53,276 KB
testcase_20 AC 35 ms
53,288 KB
testcase_21 AC 35 ms
52,820 KB
testcase_22 AC 36 ms
52,488 KB
testcase_23 WA -
testcase_24 AC 35 ms
52,484 KB
権限があれば一括ダウンロードができます

ソースコード

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