結果
問題 |
No.453 製薬会社
|
ユーザー |
![]() |
提出日時 | 2018-03-25 11:16:45 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 41 ms / 2,000 ms |
コード長 | 273 bytes |
コンパイル時間 | 214 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-06-25 05:32:17 |
合計ジャッジ時間 | 1,249 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 9 |
ソースコード
c,d=[int(i) for i in input().split()] x_kouten = 20*c/13 - 8*d/13 y_kouten = -7*c/13 + 21*d/13 if x_kouten>=0 and y_kouten>=0: z=1000*x_kouten + 2000*y_kouten elif x_kouten>=0 and y_kouten<0: z=1000*4*d elif x_kouten<0 and y_kouten>=0: z=2000*7*c/2 print(z)