結果
問題 | No.1543 [Cherry 2nd Tune A] これがプログラミングなのね |
ユーザー |
![]() |
提出日時 | 2021-06-11 22:12:06 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 2,000 ms |
コード長 | 423 bytes |
コンパイル時間 | 3,011 ms |
コンパイル使用メモリ | 190,624 KB |
最終ジャッジ日時 | 2025-01-22 06:00:34 |
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 35 |
ソースコード
#include <iostream>#include <bits/stdc++.h>using namespace std;#define ll long longint main() {int s,t;cin>>s>>t;char c;cin>>c;if(c=='='){if(s==t) cout<<"YES";else cout<<"NO";}if(c=='>'){if(s>t) cout<<"YES";else cout<<"NO";}if(c=='<'){if(s<t) cout<<"YES";else cout<<"NO";}return 0;}