提出 #25865948


ソースコード 拡げる

# -*- coding: utf-8 -*-
"""
020 - Log Inequality(★3)
https://atcoder.jp/contests/typical90/tasks/typical90_t

"""
import sys


def solve(a, b, c):
    return 'Yes' if c**b > a else 'No'


def main(args):
    a, b, c = map(int, input().split())
    #a, b, c, = 4, 3, 2
    #a, b, c, = 16, 3, 2
    ans = solve(a, b, c)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

提出情報

提出日時
問題 020 - Log Inequality(★3)
ユーザ kichi
言語 Python (3.8.2)
得点 3
コード長 414 Byte
結果 AC
実行時間 31 ms
メモリ 9180 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 3 / 3
結果
AC × 3
AC × 40
セット名 テストケース
Sample Sample_1.txt, Sample_2.txt, Sample_3.txt
All Killer_Type_A_-1.txt, Killer_Type_A_-2.txt, Killer_Type_A_-3.txt, Killer_Type_A_00.txt, Killer_Type_A_01.txt, Killer_Type_A_02.txt, Killer_Type_A_03.txt, Killer_Type_A_04.txt, Killer_Type_A_05.txt, Killer_Type_A_06.txt, Killer_Type_A_07.txt, Killer_Type_A_08.txt, Killer_Type_A_09.txt, Killer_Type_A_10.txt, Killer_Type_B_-1.txt, Killer_Type_B_-2.txt, Killer_Type_B_-3.txt, Killer_Type_B_0.txt, Killer_Type_B_1.txt, Killer_Type_B_2.txt, Killer_Type_B_3.txt, Killer_Type_B_4.txt, Killer_Type_C_-1.txt, Killer_Type_C_-2.txt, Killer_Type_C_-3.txt, Killer_Type_C_0.txt, Killer_Type_C_1.txt, Random_01.txt, Random_02.txt, Random_03.txt, Random_04.txt, Random_05.txt, Random_06.txt, Random_07.txt, Random_08.txt, Random_09.txt, Random_10.txt, Sample_1.txt, Sample_2.txt, Sample_3.txt
ケース名 結果 実行時間 メモリ
Killer_Type_A_-1.txt AC 24 ms 9040 KiB
Killer_Type_A_-2.txt AC 18 ms 9112 KiB
Killer_Type_A_-3.txt AC 19 ms 8876 KiB
Killer_Type_A_00.txt AC 18 ms 8884 KiB
Killer_Type_A_01.txt AC 21 ms 9112 KiB
Killer_Type_A_02.txt AC 23 ms 9040 KiB
Killer_Type_A_03.txt AC 18 ms 9036 KiB
Killer_Type_A_04.txt AC 20 ms 9176 KiB
Killer_Type_A_05.txt AC 18 ms 8888 KiB
Killer_Type_A_06.txt AC 31 ms 9180 KiB
Killer_Type_A_07.txt AC 21 ms 8888 KiB
Killer_Type_A_08.txt AC 18 ms 9044 KiB
Killer_Type_A_09.txt AC 23 ms 9176 KiB
Killer_Type_A_10.txt AC 19 ms 8884 KiB
Killer_Type_B_-1.txt AC 17 ms 9180 KiB
Killer_Type_B_-2.txt AC 25 ms 8880 KiB
Killer_Type_B_-3.txt AC 17 ms 8884 KiB
Killer_Type_B_0.txt AC 23 ms 9176 KiB
Killer_Type_B_1.txt AC 17 ms 9044 KiB
Killer_Type_B_2.txt AC 17 ms 8892 KiB
Killer_Type_B_3.txt AC 19 ms 8876 KiB
Killer_Type_B_4.txt AC 19 ms 8984 KiB
Killer_Type_C_-1.txt AC 20 ms 8872 KiB
Killer_Type_C_-2.txt AC 26 ms 8888 KiB
Killer_Type_C_-3.txt AC 17 ms 9176 KiB
Killer_Type_C_0.txt AC 22 ms 8996 KiB
Killer_Type_C_1.txt AC 17 ms 9044 KiB
Random_01.txt AC 18 ms 9024 KiB
Random_02.txt AC 25 ms 9176 KiB
Random_03.txt AC 18 ms 8884 KiB
Random_04.txt AC 18 ms 9036 KiB
Random_05.txt AC 19 ms 8992 KiB
Random_06.txt AC 19 ms 9180 KiB
Random_07.txt AC 27 ms 9040 KiB
Random_08.txt AC 24 ms 9172 KiB
Random_09.txt AC 26 ms 8872 KiB
Random_10.txt AC 19 ms 8988 KiB
Sample_1.txt AC 18 ms 8876 KiB
Sample_2.txt AC 21 ms 9048 KiB
Sample_3.txt AC 21 ms 8872 KiB