freeproblemset icon indicating copy to clipboard operation
freeproblemset copied to clipboard

1053题好像有问题,我的代码应该是对的

Open GoogleCodeExporter opened this issue 9 years ago • 0 comments

代码:

a,b=gets.split(/\s+/)
h={}

(a.to_i+b.to_i).times{
    c,d=gets.split(/\s+/)
    h[c]=d
}

h.sort.each{|x,y| puts x+' '+y}

Original issue reported on code.google.com by Sevkme on 6 Jan 2011 at 12:04

GoogleCodeExporter avatar Mar 13 '15 15:03 GoogleCodeExporter