Submission #3819996
Source Code Expand
if __name__ == '__main__': n, m, X, Y = (int(i) for i in input().split()) x = [int(i) for i in input().split()] y = [int(i) for i in input().split()] result = "War" for i in range(-100, 101): if X < i and Y >= i and max(x) < i and min(y) >= i: result = "No War" print(result)
Submission Info
Submission Time | |
---|---|
Task | B - 1 Dimensional World's Tale |
User | RIT777 |
Language | Python (3.4.3) |
Score | 200 |
Code Size | 335 Byte |
Status | AC |
Exec Time | 18 ms |
Memory | 3060 KB |
Judge Result
Set Name | All | Sample | ||||
---|---|---|---|---|---|---|
Score / Max Score | 200 / 200 | 0 / 0 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
All | hand1, hand2, max1, max2, max3, max4, max5, max7, max8, normal1, normal2, normal3, normal4, normal5, sample_01, sample_02, sample_03 |
Sample | sample_01, sample_02, sample_03 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
hand1 | AC | 17 ms | 2940 KB |
hand2 | AC | 17 ms | 3060 KB |
max1 | AC | 17 ms | 2940 KB |
max2 | AC | 17 ms | 2940 KB |
max3 | AC | 17 ms | 3060 KB |
max4 | AC | 18 ms | 2940 KB |
max5 | AC | 17 ms | 2940 KB |
max7 | AC | 18 ms | 3060 KB |
max8 | AC | 17 ms | 2940 KB |
normal1 | AC | 17 ms | 3060 KB |
normal2 | AC | 17 ms | 2940 KB |
normal3 | AC | 17 ms | 2940 KB |
normal4 | AC | 17 ms | 3060 KB |
normal5 | AC | 17 ms | 2936 KB |
sample_01 | AC | 17 ms | 2940 KB |
sample_02 | AC | 17 ms | 3060 KB |
sample_03 | AC | 17 ms | 3060 KB |