Submission #1207805


Source Code Expand

Copy
a=gets.to_i.times.map{
h=Hash.new 0
gets.chomp.chars{h[c]+=1}
h
}
puts ('a'..'z').map{|c|c*a.map{|h|h[c]}.min}*''

Submission Info

Submission Time
Task C - 怪文書 / Dubious Document
User leafmoon
Language Ruby (2.3.3)
Score 0
Code Size 118 Byte
Status

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 0_000.txt, 0_001.txt
All 0 / 300 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
0_001.txt
dec_half.txt
hand.txt
max.txt
max_10.txt
max_5.txt
maxx.txt
rnd.txt
single.txt