結果

問題 No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
ユーザー eve__fuyukieve__fuyuki
提出日時 2024-06-06 15:07:21
言語 C++17(gcc12)
(gcc 12.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 298 bytes
コンパイル時間 2,144 ms
コンパイル使用メモリ 200,288 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-24 07:16:59
合計ジャッジ時間 3,426 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

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

void fast_io() {
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);
}

int main() {
    fast_io();
    int s, t;
    char c;
    cin >> s >> t >> c;
    char d = (s < t ? '<' : (s > t ? '>' : '='));
    cout << (c == d ? "YES\n" : "NO\n");
}
0