結果

問題 No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
ユーザー lam6er
提出日時 2025-03-20 18:39:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 191 bytes
コンパイル時間 178 ms
コンパイル使用メモリ 82,252 KB
実行使用メモリ 53,528 KB
最終ジャッジ日時 2025-03-20 18:39:44
合計ジャッジ時間 2,478 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

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

if c == '<':
    result = s < t
elif c == '>':
    result = s > t
else:  # c must be '='
    result = s == t

print("YES" if result else "NO")
0