結果

問題 No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
ユーザー GrayCoder
提出日時 2021-06-11 21:26:08
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 2,000 ms
コード長 301 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-12-14 22:18:22
合計ジャッジ時間 2,309 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

from sys import stdin


def main():
    input = lambda: stdin.readline()[:-1]
    S, T, C = input().split()

    S, T = map(int, [S, T])
    if S < T:
        c = "<"
    elif S > T:
        c = ">"
    else:
        c = "="

    if C == c:
        print("YES")
    else:
        print("NO")


main()
0