Submission #3262676


Source Code Expand

Copy
N, M, X, Y = map(int, input().split())
x = list(map(int, input().split()))
y = list(map(int, input().split()))
if max(X, max(x)) < min(Y, min(y)):
    print('Yes')
else:
    print('No')

Submission Info

Submission Time
Task B - 1 Dimensional World's Tale
User taku0728
Language PyPy3 (2.4.0)
Score 0
Code Size 193 Byte
Status
Exec Time 169 ms
Memory 38256 KB

Test Cases

Set Name Score / Max Score Test Cases
All 0 / 200 hand1, hand2, max1, max2, max3, max4, max5, max7, max8, normal1, normal2, normal3, normal4, normal5, sample_01, sample_02, sample_03
Sample 0 / 0 sample_01, sample_02, sample_03
Case Name Status Exec Time Memory
hand1 163 ms 38256 KB
hand2 165 ms 38256 KB
max1 163 ms 38256 KB
max2 163 ms 38256 KB
max3 163 ms 38256 KB
max4 164 ms 38256 KB
max5 166 ms 38256 KB
max7 169 ms 38256 KB
max8 163 ms 38256 KB
normal1 163 ms 38256 KB
normal2 169 ms 38256 KB
normal3 163 ms 38256 KB
normal4 163 ms 38256 KB
normal5 163 ms 38256 KB
sample_01 163 ms 38256 KB
sample_02 163 ms 38256 KB
sample_03 169 ms 38256 KB