結果

問題 No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
ユーザー LV3zJigVW57oPGyLV3zJigVW57oPGy
提出日時 2022-10-28 17:16:18
言語 C++11
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 391 bytes
コンパイル時間 1,153 ms
コンパイル使用メモリ 157,060 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-05 20:46:32
合計ジャッジ時間 1,891 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h> 
using namespace std;
#include <ios>
#include <iomanip>
  
int main() {
  int a,b;
  char c;
  cin>>a>>b>>c;
  if(a==b){
   if(c=='='){
    cout << "Yes";
  }
  else{
   cout <<"No";
  }
  }
 else if(a<=b){
   if(c=='<'){
    cout<< "Yes";
  }
  else{
   cout <<"No";
  }
 }
  else if(a>=b){
   if(c=='>'){
    cout << "Yes";
  }
  else{
   cout <<"No";
  }
  }
}
  
0