結果

問題 No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
ユーザー 👑 Kazun
提出日時 2021-03-29 02:34:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 258 bytes
コンパイル時間 396 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-12-14 19:26:40
合計ジャッジ時間 2,684 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

S,T,c=input().split()
S=int(S);T=int(T)

if c=="<":
    if S<T:
        F=1
    else:
        F=0
elif c==">":
    if S>T:
        F=1
    else:
        F=0
else:
    if S==T:
        F=1
    else:
        F=0

if F==1:
    print("YES")
else:
    print("NO")
0