提出 #70589850


ソースコード 拡げる

#include <bits/stdc++.h>
//#include <atcoder/all>
using namespace std;
//using namespace atcoder;
//using mint = modint1000000007;
//const int mod = 1000000007;
//using mint = modint998244353;
//const int mod = 998244353;
//const int INF = 1e9;
//const long long LINF = 1e18;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep2(i,l,r)for(int i=(l);i<(r);++i)
#define rrep(i, n) for (int i = (n) - 1; i >= 0; --i)
#define rrep2(i,l,r)for(int i=(r) - 1;i>=(l);--i)
#define all(x) (x).begin(),(x).end()
#define allR(x) (x).rbegin(),(x).rend()
#define P pair<int,int>
template<typename A, typename B> inline bool chmax(A & a, const B & b) { if (a < b) { a = b; return true; } return false; }
template<typename A, typename B> inline bool chmin(A & a, const B & b) { if (a > b) { a = b; return true; } return false; }

int main() {
	std::ios::sync_with_stdio(false);
	std::cin.tie(nullptr);
	int a, b, c, d; cin >> a >> b >> c >> d;
	if (a <= c && d < b)cout << "Yes" << endl;
	else cout << "No" << endl;
	return 0;
}

提出情報

提出日時
問題 A - Candy Cookie Law
ユーザ kwm_t
言語 C++23 (GCC 15.2.0)
得点 100
コード長 1049 Byte
結果 AC
実行時間 16 ms
メモリ 3680 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 12
セット名 テストケース
Sample sample_01.txt, sample_02.txt, sample_03.txt
All 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, sample_01.txt, sample_02.txt, sample_03.txt
ケース名 結果 実行時間 メモリ
random_01.txt AC 16 ms 3548 KiB
random_02.txt AC 1 ms 3560 KiB
random_03.txt AC 1 ms 3604 KiB
random_04.txt AC 1 ms 3432 KiB
random_05.txt AC 1 ms 3524 KiB
random_06.txt AC 1 ms 3548 KiB
random_07.txt AC 1 ms 3532 KiB
random_08.txt AC 1 ms 3604 KiB
random_09.txt AC 1 ms 3612 KiB
sample_01.txt AC 1 ms 3680 KiB
sample_02.txt AC 1 ms 3604 KiB
sample_03.txt AC 1 ms 3452 KiB