Submission #1208140


Source Code Expand

Copy
a=gets.to_i.times.map{
h=Hash.new 0
gets.chomp.chars{|c|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 300
Code Size 121 Byte
Status AC
Exec Time 8 ms
Memory 1916 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 300 / 300
Status
AC × 2
AC × 10
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 7 ms 1788 KB
0_001.txt AC 7 ms 1788 KB
dec_half.txt AC 7 ms 1788 KB
hand.txt AC 8 ms 1916 KB
max.txt AC 8 ms 1916 KB
max_10.txt AC 8 ms 1916 KB
max_5.txt AC 8 ms 1916 KB
maxx.txt AC 8 ms 1916 KB
rnd.txt AC 8 ms 1916 KB
single.txt AC 7 ms 1788 KB