Submission #1847734
Source Code Expand
N = int(input()) S = [[] for i in range(N)] for i in range(N): S[i] += list(input()) res="" for i in range(97,97+26): c = chr(i) curr = N for j in range(N): curr = min(curr,S[j].count(c)) res += c*curr print(res)
Submission Info
Submission Time | |
---|---|
Task | C - Dubious Document |
User | ty70 |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 235 Byte |
Status | WA |
Exec Time | 19 ms |
Memory | 3316 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 300 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_000.txt, 0_001.txt |
All | 0_000.txt, 0_001.txt, dec_half.txt, hand.txt, max.txt, max_10.txt, max_5.txt, maxx.txt, rnd.txt, single.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_000.txt | AC | 19 ms | 3316 KB |
0_001.txt | AC | 17 ms | 3060 KB |
dec_half.txt | AC | 17 ms | 3060 KB |
hand.txt | AC | 18 ms | 2940 KB |
max.txt | AC | 18 ms | 3060 KB |
max_10.txt | AC | 18 ms | 3060 KB |
max_5.txt | AC | 18 ms | 3060 KB |
maxx.txt | AC | 18 ms | 3060 KB |
rnd.txt | AC | 18 ms | 3060 KB |
single.txt | WA | 17 ms | 2940 KB |