Submission #2122658


Source Code Expand

H,W=gets.split.map &:to_i
puts "#"*(W+2),H.times.map{"#"+gets.chop+"#"},"#"*(W+2)

Submission Info

Submission Time
Task B - Picture Frame
User chabo
Language Ruby (2.3.3)
Score 200
Code Size 82 Byte
Status AC
Exec Time 7 ms
Memory 1788 KB

Compile Error

./Main.rb:1: warning: `&' interpreted as argument prefix

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 2
AC × 10
Set Name Test Cases
Sample 0_00.txt, 0_01.txt
All 0_00.txt, 0_01.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt, 1_05.txt, 1_06.txt, 1_07.txt
Case Name Status Exec Time Memory
0_00.txt AC 7 ms 1788 KB
0_01.txt AC 7 ms 1788 KB
1_00.txt AC 7 ms 1788 KB
1_01.txt AC 7 ms 1788 KB
1_02.txt AC 7 ms 1788 KB
1_03.txt AC 7 ms 1788 KB
1_04.txt AC 7 ms 1788 KB
1_05.txt AC 7 ms 1788 KB
1_06.txt AC 7 ms 1788 KB
1_07.txt AC 7 ms 1788 KB