結果
| 問題 |
No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
|
| コンテスト | |
| ユーザー |
LV3zJigVW57oPGy
|
| 提出日時 | 2022-10-28 17:17:37 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 388 bytes |
| コンパイル時間 | 1,419 ms |
| コンパイル使用メモリ | 157,664 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-05 20:47:35 |
| 合計ジャッジ時間 | 2,378 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 8 WA * 27 |
ソースコード
#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";
}
}
}
LV3zJigVW57oPGy