Submission #72515480


Source Code Expand

#include <bits/stdc++.h>
using namespace std;
using ll=long long;
int p,q,x,y;
int main()
{
	scanf("%d%d%d%d",&p,&q,&x,&y);
	if(x>=p && y>=q)
	{
		if(x-100<p && y-100<q)
			cout<<"Yes";
		else
			cout<<"No";
	}
	else
	{
		cout<<"No";
	}
    return 0;
}

Submission Info

Submission Time
Task A - Black Square
User roberun
Language C++23 (Clang 21.1.0)
Score 100
Code Size 271 Byte
Status AC
Exec Time 2 ms
Memory 3156 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 33
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, hand_06.txt, hand_07.txt, hand_08.txt, hand_09.txt, hand_10.txt, hand_11.txt, hand_12.txt, hand_13.txt, hand_14.txt, hand_15.txt, hand_16.txt, hand_17.txt, hand_18.txt, hand_19.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
Case Name Status Exec Time Memory
example_00.txt AC 2 ms 3156 KiB
example_01.txt AC 1 ms 3144 KiB
example_02.txt AC 1 ms 3144 KiB
hand_00.txt AC 1 ms 3120 KiB
hand_01.txt AC 1 ms 3048 KiB
hand_02.txt AC 1 ms 3012 KiB
hand_03.txt AC 1 ms 3044 KiB
hand_04.txt AC 1 ms 3040 KiB
hand_05.txt AC 1 ms 3156 KiB
hand_06.txt AC 1 ms 2984 KiB
hand_07.txt AC 1 ms 3064 KiB
hand_08.txt AC 1 ms 3012 KiB
hand_09.txt AC 1 ms 3040 KiB
hand_10.txt AC 1 ms 3040 KiB
hand_11.txt AC 1 ms 3152 KiB
hand_12.txt AC 1 ms 3028 KiB
hand_13.txt AC 1 ms 2984 KiB
hand_14.txt AC 1 ms 3144 KiB
hand_15.txt AC 1 ms 3040 KiB
hand_16.txt AC 1 ms 3088 KiB
hand_17.txt AC 1 ms 3012 KiB
hand_18.txt AC 1 ms 3064 KiB
hand_19.txt AC 1 ms 2984 KiB
random_00.txt AC 1 ms 3048 KiB
random_01.txt AC 1 ms 2964 KiB
random_02.txt AC 1 ms 3156 KiB
random_03.txt AC 1 ms 3040 KiB
random_04.txt AC 1 ms 2984 KiB
random_05.txt AC 1 ms 3048 KiB
random_06.txt AC 1 ms 3016 KiB
random_07.txt AC 1 ms 2984 KiB
random_08.txt AC 1 ms 3088 KiB
random_09.txt AC 1 ms 3064 KiB