結果
| 問題 | No.218 経験値1.5倍 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-03 23:13:11 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 21 ms / 2,000 ms |
| + 718µs | |
| コード長 | 375 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2026-09-29 00:56:30 |
| 合計ジャッジ時間 | 2,329 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
import math
a = int(input())
b = int(input())
c = int(input())
n = math.ceil(a / b) #本来の必要アイテム個数
m = math.ceil(a / c) #キャンペーン時の必要アイテム個数
#仮説はキャンペーン時なら通常時の2/3以下の個数でたりるのではないか
if m / n <= 2/3:
print('YES')
elif m / n > 2/3:
print('NO')