Submission #1293316
Source Code Expand
import collections import string n = int(input()) s = [] for i in range(n): s.append(collections.Counter(input())) ret = '' for i in string.ascii_lowercase: ret += i * min([c[i] for c in s]) print(ret)
Submission Info
Submission Time | |
---|---|
Task | C - Dubious Document |
User | matsu7874 |
Language | Python (3.4.3) |
Score | 300 |
Code Size | 222 Byte |
Status | AC |
Exec Time | 25 ms |
Memory | 3768 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 300 / 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 | 25 ms | 3764 KB |
0_001.txt | AC | 24 ms | 3764 KB |
dec_half.txt | AC | 25 ms | 3768 KB |
hand.txt | AC | 25 ms | 3764 KB |
max.txt | AC | 25 ms | 3764 KB |
max_10.txt | AC | 25 ms | 3764 KB |
max_5.txt | AC | 25 ms | 3764 KB |
maxx.txt | AC | 25 ms | 3768 KB |
rnd.txt | AC | 25 ms | 3768 KB |
single.txt | AC | 24 ms | 3764 KB |