結果

問題 No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
ユーザー harurun
提出日時 2021-04-17 02:15:34
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 189 bytes
コンパイル時間 656 ms
コンパイル使用メモリ 65,856 KB
最終ジャッジ日時 2025-01-20 20:53:43
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
  int S,T;
  char c;
  cin>>S>>T>>c;
  if((c=='='&&S==T)||(c=='<'&&S<T)||(c=='>'&&S>T))cout<<"YES\n";
  else cout<<"NO\n";
  return 0;
}
0