Submission #3262653


Source Code Expand

Copy
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('No War')
else:
    print('War')

Submission Info

Submission Time
Task B - 1 Dimensional World's Tale
User taku0728
Language PyPy3 (2.4.0)
Score 0
Code Size 191 Byte
Status

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
hand2
max1
max2
max3
max4
max5
max7
max8
normal1
normal2
normal3
normal4
normal5
sample_01
sample_02
sample_03