結果

問題 No.379 五円硬貨
ユーザー yumechi
提出日時 2016-08-06 01:17:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 123 ms / 1,000 ms
コード長 211 bytes
コンパイル時間 479 ms
コンパイル使用メモリ 81,904 KB
実行使用メモリ 80,120 KB
最終ジャッジ日時 2024-11-07 01:44:32
合計ジャッジ時間 3,326 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import *

def solve():
    getcontext().prec = 50
    n, g, v = [int(i) for i in input().split()]
    print(Decimal((n - n % 5) // 5) * Decimal(g) / Decimal(v))

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