結果
問題 | No.218 経験値1.5倍 |
ユーザー |
![]() |
提出日時 | 2018-03-04 22:52:13 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 548 bytes |
コンパイル時間 | 78 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-16 04:44:37 |
合計ジャッジ時間 | 2,040 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
# -*- coding: utf-8 -*- """ No.218 経験値1.5倍 https://yukicoder.me/problems/no/218 """ import sys from sys import stdin from math import ceil, floor input = stdin.readline def solve(a, b, c): normal = ceil(a / b) campaign = ceil(a / c) # print(normal, campaign) if floor(normal * 2 / 3) >= campaign: return 'YES' else: return 'NO' def main(args): a = int(input()) b = int(input()) c = int(input()) ans = solve(a, b, c) print(ans) if __name__ == '__main__': main(sys.argv[1:])