Submission #2407592
Source Code Expand
N = int(input()) s = [int(input()) for i in range(N)] M = int(input()) t = [int(input()) for i in range(M)] s1 = list(set(s)) a = [] for i in range (len(s1)): for j in range (N): if s1[i] == s[j]: a[i]+=1 for i in range (len(s1)): for j in range (M): if s1[i] == t[j]: a[i]-=1 print(max(a))
Submission Info
Submission Time | |
---|---|
Task | B - Two Colors Card Game |
User | yseeker |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 354 Byte |
Status | RE |
Exec Time | 17 ms |
Memory | 3064 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 200 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | example_0, example_1, example_2, example_3 |
All | example_0, example_1, example_2, example_3, rand_0, rand_1, rand_2, rand_3, rand_4, rand_5, rand_6 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
example_0 | RE | 17 ms | 3064 KB |
example_1 | RE | 17 ms | 3064 KB |
example_2 | RE | 17 ms | 3064 KB |
example_3 | RE | 17 ms | 3064 KB |
rand_0 | RE | 17 ms | 3064 KB |
rand_1 | RE | 17 ms | 3064 KB |
rand_2 | RE | 17 ms | 3064 KB |
rand_3 | RE | 17 ms | 3060 KB |
rand_4 | RE | 17 ms | 3064 KB |
rand_5 | RE | 17 ms | 3064 KB |
rand_6 | RE | 17 ms | 3064 KB |