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