結果
| 問題 | 
                            No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
                             | 
                    
| コンテスト | |
| ユーザー | 
                             Manuel1024
                         | 
                    
| 提出日時 | 2021-06-11 21:23:10 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 363 bytes | 
| コンパイル時間 | 696 ms | 
| コンパイル使用メモリ | 63,204 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2024-12-14 22:05:33 | 
| 合計ジャッジ時間 | 1,968 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 35 | 
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main(){
    int s, t;
    string c;
    cin >> s >> t >> c;
    bool isyes = false;
    if(c == "=" && s == t) isyes = true;
    else if(c == "<" && s < t) isyes = true;
    else if(c == ">" && s > t) isyes = true;
    if(isyes) cout << "YES" << endl;
    else cout << "NO" << endl;
    return 0;
}
            
            
            
        
            
Manuel1024