結果

問題 No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
ユーザー llawliet
提出日時 2021-06-11 21:26:40
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 504 bytes
コンパイル時間 1,499 ms
コンパイル使用メモリ 168,860 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-14 22:18:58
合計ジャッジ時間 2,505 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pll pair<ll,ll>
#define ff first
#define ss second
#define pb push_back
const int mod = 1e9 + 7;



int main() {
	ios::sync_with_stdio(false);
	cin.tie(NULL);
	cout.tie(NULL);
	
	string s, t, c;
	cin >> s >> t >> c;
	if(c == "<"){
		if(s < t) cout << "YES";
		else cout << "NO";
	}
	else if(c == ">"){
		if(s > t) cout << "YES";
		else cout << "NO";
	}
	else {
		if(s == t) cout << "YES";
		else cout << "NO";
	}
	
	
	return 0;

}
0