結果
| 問題 | 
                            No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
                             | 
                    
| コンテスト | |
| ユーザー | 
                             Subaru314
                         | 
                    
| 提出日時 | 2022-01-24 18:59:00 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 708 bytes | 
| コンパイル時間 | 3,075 ms | 
| コンパイル使用メモリ | 286,788 KB | 
| 最終ジャッジ日時 | 2025-01-27 15:08:59 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 35 | 
ソースコード
#include"bits/stdc++.h"
#include<boost/multi_array.hpp>
#include<boost/optional.hpp>
#include<boost/range/irange.hpp>
#include<boost/range/algorithm.hpp>
#include<boost/range/adaptors.hpp>
using namespace std;
namespace adaptor = boost::adaptors;
void Main(){
  int a,b;
  string c;
  cin >> a >> b >> c;
  if(c==">"){
    if(a>b){
      cout << "YES";
    }else{
      cout << "NO";
    }
  }else if(c=="<"){
    if(a<b){
      cout << "YES";
    }else{
      cout << "NO";
    }
  }else{
    if(a==b){
      cout << "YES";
    }else{
      cout << "NO";
    }
  }
}
int main(){
	std::cin.tie(nullptr);
	std::ios_base::sync_with_stdio(false);
	std::cout << std::fixed << std::setprecision(15);
	Main();
}
            
            
            
        
            
Subaru314