結果

問題 No.453 製薬会社
ユーザー yuppe19 😺yuppe19 😺
提出日時 2016-12-04 01:24:37
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 234 bytes
コンパイル時間 288 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2024-05-05 19:12:52
合計ジャッジ時間 679 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
6,144 KB
testcase_01 AC 9 ms
6,144 KB
testcase_02 AC 10 ms
6,272 KB
testcase_03 AC 10 ms
6,016 KB
testcase_04 AC 9 ms
6,144 KB
testcase_05 WA -
testcase_06 AC 8 ms
6,272 KB
testcase_07 AC 9 ms
6,272 KB
testcase_08 WA -
testcase_09 AC 9 ms
6,144 KB
testcase_10 AC 10 ms
6,016 KB
testcase_11 AC 9 ms
6,144 KB
testcase_12 AC 8 ms
6,144 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/python2
# -*- coding: utf-8 -*-
# †
c, d = map(float, raw_input().split())
if 2*d > 5*c:
    # 2*d = 5*cにする
    c = 2*d / 5
elif 3*d < c:
    # 3*d = cにする
    c = 3*d

res = 1000 * (6*c + 34*d) / 13
print res
0