結果
問題 |
No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
|
ユーザー |
|
提出日時 | 2023-06-08 01:37:52 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 535 bytes |
コンパイル時間 | 1,894 ms |
コンパイル使用メモリ | 165,848 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-30 07:19:06 |
合計ジャッジ時間 | 2,803 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 35 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int s,t; cin >>s >> t; string a; cin >>a; if(a=="<"){ if(s<t){ cout << "YES" << endl; } else{ cout << "NO" << endl; } }else if(a==">"){ if(s>t){ cout << "YES" << endl; }else{ cout << "NO" << endl; } }else{ if(s==t){ cout << "YES" << endl; } else{ cout << "NO" << endl; } } }