結果

問題 No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
ユーザー やでな@競プロ
提出日時 2023-10-10 02:07:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 283 bytes
コンパイル時間 162 ms
コンパイル使用メモリ 82,580 KB
実行使用メモリ 53,636 KB
最終ジャッジ日時 2024-09-13 00:11:38
合計ジャッジ時間 2,744 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

s,t,c = input().split()
s,t = int(s),int(t)

if c == "<":
    if s < t:
        print("YES")
    else:
        print("NO")
elif c == "=":
    if s == t:
        print("YES")
    else:
        print("NO")
else:
    if s > t:
        print("YES")
    else:
        print("NO")
        
0