結果

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

ソースコード

diff #

#include <iostream>
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
    int s,t;
    cin>>s>>t;
    char c;
    cin>>c;
    if(c=='='){
        if(s==t) cout<<"YES";
        else cout<<"NO";
        
    }
    if(c=='>'){
        if(s>t) cout<<"YES";
        else cout<<"NO";
        
    }
    if(c=='<'){
        if(s<t) cout<<"YES";
        else cout<<"NO";
        
    }
    return 0;
}
0