Submission #2864706
Source Code Expand
import collections N = int(input()) blue = [list(input().split()) for i in range(N)] M = int(input()) red = [list(input().split()) for i in range(M)] sum =0 for i in blue: score = blue.count(i) - red.count(i) if score>sum: result = sum print(sum)
Submission Info
Submission Time | |
---|---|
Task | B - Two Colors Card Game |
User | toberustacean |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 272 Byte |
Status | WA |
Exec Time | 21 ms |
Memory | 3316 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 | WA | 20 ms | 3316 KB |
example_1 | WA | 20 ms | 3316 KB |
example_2 | AC | 20 ms | 3316 KB |
example_3 | WA | 20 ms | 3316 KB |
rand_0 | AC | 21 ms | 3316 KB |
rand_1 | AC | 21 ms | 3316 KB |
rand_2 | WA | 21 ms | 3316 KB |
rand_3 | WA | 21 ms | 3316 KB |
rand_4 | WA | 21 ms | 3316 KB |
rand_5 | WA | 21 ms | 3316 KB |
rand_6 | WA | 21 ms | 3316 KB |