結果

問題 No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
ユーザー bonKotsu
提出日時 2021-06-14 23:15:57
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 366 bytes
コンパイル時間 1,868 ms
コンパイル使用メモリ 166,156 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-25 04:07:27
合計ジャッジ時間 3,128 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

#define ll long long
#define rep(i, n) for (int i = 0; i < (n); i++)
#define P pair<int, int>

int main() {
  int s, t;
  char c;
  cin >> s >> t >> c;

  string ans = "NO";
  if (c == '<' && s < t) ans = "YES";
  if (c == '>' && s > t) ans = "YES";
  if (c == '=' && s == t) ans = "YES";
  cout << ans << endl;

  


}
0