提出 #70589992
ソースコード 拡げる
#include <bits/stdc++.h>
#include <bits/extc++.h>
using namespace std;
using namespace __gnu_pbds;
using namespace __gnu_cxx;
const int maxn = 1e4+5;
int main()
{
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int a,b,c,d;
cin>>a>>b>>c>>d;
if (c>=a&&d<b)
print("Yes");
else
print("No");
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Candy Cookie Law |
| ユーザ | Alliy666 |
| 言語 | C++23 (GCC 15.2.0) |
| 得点 | 100 |
| コード長 | 370 Byte |
| 結果 | AC |
| 実行時間 | 12 ms |
| メモリ | 6548 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| 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 | 12 ms | 6404 KiB |
| random_02.txt | AC | 3 ms | 6384 KiB |
| random_03.txt | AC | 2 ms | 6440 KiB |
| random_04.txt | AC | 2 ms | 6356 KiB |
| random_05.txt | AC | 3 ms | 6384 KiB |
| random_06.txt | AC | 3 ms | 6496 KiB |
| random_07.txt | AC | 3 ms | 6396 KiB |
| random_08.txt | AC | 3 ms | 6272 KiB |
| random_09.txt | AC | 3 ms | 6384 KiB |
| sample_01.txt | AC | 3 ms | 6440 KiB |
| sample_02.txt | AC | 2 ms | 6384 KiB |
| sample_03.txt | AC | 3 ms | 6548 KiB |