結果

問題 No.218 経験値1.5倍
コンテスト
ユーザー mokrai
提出日時 2017-11-16 12:20:28
言語 Python3
(3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
AC  
実行時間 21 ms / 2,000 ms
+ 997µs
コード長 420 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 57 ms
コンパイル使用メモリ 14,976 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2026-10-09 09:30:59
合計ジャッジ時間 2,385 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

import math

def main():
    a = int(input())
    b = int(input())
    c = int(input())

    normal_count = math.ceil(a/b)
    special_count = math.ceil(a/c)

    #print("normal_count", normal_count)
    #print("special_count", special_count)
    #print("2/3", normal_count * (2/3))

    if special_count <= normal_count * (2/3):
        print("YES")
    else:
        print("NO")

if __name__ == '__main__':
    main()
0