Submission #11382158
Source Code Expand
H, W = map(int, input().split()) a = [[x for x in input()] for _ in range(H)] ans = [] ans.append(['#'*(W+2)]) for row in a: row.insert(0, '#') row.append('#') ans.append(row) ans.append(['#'*(W+2)]) for i in range(W+2): print(*ans[i], sep='')
Submission Info
Submission Time | |
---|---|
Task | B - Picture Frame |
User | usao |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 271 Byte |
Status | RE |
Exec Time | 21 ms |
Memory | 4468 KB |
Judge Result
Set Name | Sample | All | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 200 | ||||||||||
Status |
|
|
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 | RE | 16 ms | 3060 KB |
0_01.txt | AC | 17 ms | 3064 KB |
1_00.txt | AC | 17 ms | 3064 KB |
1_01.txt | RE | 17 ms | 3064 KB |
1_02.txt | WA | 17 ms | 3064 KB |
1_03.txt | AC | 21 ms | 4468 KB |
1_04.txt | WA | 17 ms | 3064 KB |
1_05.txt | WA | 18 ms | 3188 KB |
1_06.txt | RE | 20 ms | 4212 KB |
1_07.txt | RE | 17 ms | 3064 KB |