結果
問題 | No.1107 三善アクセント |
ユーザー |
![]() |
提出日時 | 2020-07-10 22:40:27 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 640 bytes |
コンパイル時間 | 1,510 ms |
コンパイル使用メモリ | 165,580 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-11 10:01:50 |
合計ジャッジ時間 | 2,389 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 24 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define hell 998244353 #define PI acos(-1.0) #define S second #define F first #define lli long long int #define li long int #define ld long double #define all(v) (v).begin(), (v).end() #define rall(v) (v).rbegin(), (v).rend() #define run(j, n) for(auto ii=j;ii!=n;ii++) #define out(j, n) for(auto ii=j;ii!=n;ii++) cout<<(*ii)<<" "; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout << fixed << showpoint; cout << setprecision(11); int ar[4]; for(int i=0;i<4;i++) cin>>ar[i]; if(ar[1]>ar[0] && ar[2]>ar[3]) { cout<<"YES"; } else { cout<<"NO"; } return 0; }