Submission #65852464
Source Code Expand
#define _Alignof alignof
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define gc getchar_unlocked
#define fo(i, n) for (i = 0; i < n; i++)
#define Fo(i, k, n) for (i = k; k < n ? i < n : i > n; k < n ? i += 1 : i -= 1)
#define si(x) scanf("%d", &x)
#define sl(x) scanf("%lld", &x)
#define ss(s) scanf("%s", s)
#define pi(x) printf("%d\n", x)
#define pl(x) printf("%lld\n", x)
#define ps(s) printf("%s\n", s)
#define deb(x) cout << #x << "=" << x << endl
#define deb2(x, y) cout << #x << "=" << x << "," << #y << "=" << y << endl
#define pb push_back
#define mp make_pair
#define F first
#define S second
#define all(x) x.begin(), x.end()
#define clr(x) memset(x, 0, sizeof(x))
#define sortall(x) sort(all(x))
#define tr(it, a) for (auto it = a.begin(); it != a.end(); it++)
#define PI 3.1415926535897932384626
#define MOD 1000000007
typedef pair<int, int> pii;
typedef pair<ll, ll> pl;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef vector<pii> vpii;
typedef vector<pl> vpl;
typedef vector<vi> vvi;
typedef vector<vl> vvl;
void solve() {
ll a, b ,c ,d ;
cin >> a >> b >> c >> d;
if(a > c) {
cout << "Yes";
} else if(a < c){
cout << "No";
} else {
if(b < d){
cout << "No" ;
} else cout << "Yes" ;
}
}
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
int tc = 1;
// Uncomment the next line to read multiple test cases.
// cin >> tc;
for (int t = 1; t <= tc; t++) {
// cout << "Case #" << t << ": ";
solve();
}
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Not Acceptable |
| User | princeakanerd |
| Language | C++ 20 (gcc 12.2) |
| Score | 100 |
| Code Size | 1629 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 3608 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example_00.txt, example_01.txt, example_02.txt |
| All | example_00.txt, example_01.txt, example_02.txt, hand_00.txt, hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, random_11.txt, random_12.txt, random_13.txt, random_14.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| example_00.txt | AC | 1 ms | 3600 KiB |
| example_01.txt | AC | 1 ms | 3456 KiB |
| example_02.txt | AC | 1 ms | 3388 KiB |
| hand_00.txt | AC | 1 ms | 3416 KiB |
| hand_01.txt | AC | 1 ms | 3472 KiB |
| hand_02.txt | AC | 1 ms | 3444 KiB |
| hand_03.txt | AC | 1 ms | 3440 KiB |
| hand_04.txt | AC | 1 ms | 3604 KiB |
| hand_05.txt | AC | 1 ms | 3384 KiB |
| random_00.txt | AC | 1 ms | 3604 KiB |
| random_01.txt | AC | 1 ms | 3524 KiB |
| random_02.txt | AC | 1 ms | 3468 KiB |
| random_03.txt | AC | 1 ms | 3420 KiB |
| random_04.txt | AC | 1 ms | 3388 KiB |
| random_05.txt | AC | 1 ms | 3328 KiB |
| random_06.txt | AC | 1 ms | 3400 KiB |
| random_07.txt | AC | 1 ms | 3468 KiB |
| random_08.txt | AC | 1 ms | 3412 KiB |
| random_09.txt | AC | 1 ms | 3408 KiB |
| random_10.txt | AC | 1 ms | 3424 KiB |
| random_11.txt | AC | 1 ms | 3472 KiB |
| random_12.txt | AC | 1 ms | 3472 KiB |
| random_13.txt | AC | 1 ms | 3472 KiB |
| random_14.txt | AC | 1 ms | 3608 KiB |