結果
| 問題 |
No.453 製薬会社
|
| ユーザー |
|
| 提出日時 | 2016-12-04 01:23:42 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 237 bytes |
| コンパイル時間 | 155 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2024-11-27 19:35:21 |
| 合計ジャッジ時間 | 1,020 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 7 WA * 2 |
ソースコード
#!/usr/bin/python2
# -*- coding: utf-8 -*-
# †
c, d = map(int, 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 * float(6*c + 34*d) / 13
print res