s_id
stringlengths
10
10
p_id
stringlengths
6
6
u_id
stringlengths
10
10
date
stringlengths
10
10
language
stringclasses
1 value
original_language
stringclasses
11 values
filename_ext
stringclasses
1 value
status
stringclasses
1 value
cpu_time
stringlengths
1
5
memory
stringlengths
1
7
code_size
stringlengths
1
6
code
stringlengths
1
539k
s532407939
p02403
u043968625
1509544675
Python
Python3
py
Runtime Error
0
0
170
flag=0 while flag==0: a,b=[int(i) for i in input().split()] if a=0 and b=0: flag=1 break else: for i in range(a): print("#"*b)
s235333628
p02403
u518939641
1509974533
Python
Python3
py
Runtime Error
0
0
171
import sys lines=sys.stdin.readlines() for line in lines: H,W=map(int,line) for i in range(H): if H==0 and W==0: break print('#'*W) print()
s114554729
p02403
u825994660
1510462593
Python
Python3
py
Runtime Error
0
0
196
import sys while True: x = sys.stdin.readline().strip() if x == "0 0": break a = list(map(int, x.strip())) sharp = "#" * a[1] for i in range(a[0]): print(sharp)
s616941803
p02403
u825994660
1510462676
Python
Python3
py
Runtime Error
0
0
200
import sys while True: x = sys.stdin.readline().strip() if x == "0 0": break a = list(map(int, x.strip())) for i in range(a[0]): sharp = "#" * a[1] print(sharp)
s628966682
p02403
u825994660
1510463123
Python
Python3
py
Runtime Error
0
0
201
import sys while True: x = sys.stdin.readline().strip() if x == "0 0": break a = list(map(int, x.strip())) sharp = "#" * a[1] for i in range(a[0]): print(sharp+"\n")
s382263604
p02403
u825994660
1510463156
Python
Python3
py
Runtime Error
0
0
212
import sys while True: x = sys.stdin.readline().strip() if x == "0 0": break a = list(map(int, x.strip())) sharp = "#" * a[1] for i in range(a[0]): print(sharp) print("\n")
s875962778
p02403
u825994660
1510463221
Python
Python3
py
Runtime Error
0
0
188
import sys while True: x = sys.stdin.readline().strip() if x == "0 0": break a = list(map(int, x)) sharp = "#" * a[1] for i in range(a[0]): print(sharp)
s111816298
p02403
u825994660
1510463357
Python
Python3
py
Runtime Error
0
0
208
import sys while True: x = sys.stdin.readline().strip() if x == "0 0": break a = list(map(int, x.strip())) sharp = "#" * a[1] for i in range(a[0]): print(sharp) print()
s398920122
p02403
u825994660
1510463371
Python
Python3
py
Runtime Error
0
0
200
import sys while True: x = sys.stdin.readline() if x == "0 0": break a = list(map(int, x.strip())) sharp = "#" * a[1] for i in range(a[0]): print(sharp) print()
s467896204
p02403
u825994660
1510463473
Python
Python3
py
Runtime Error
0
0
190
import sys while True: x = sys.stdin.readline().strip() if x == "0 0": break a = list(map(int, x.strip())) for i in range(a[0]): print("#" * a[1]) print()
s015179745
p02403
u150984829
1513084756
Python
Python3
py
Runtime Error
0
0
92
while True: h,w=map(int,input().split()) if h==0:break for y in range(h): print('*'**w)
s947909497
p02403
u150984829
1513084877
Python
Python3
py
Runtime Error
0
0
93
while True: h,w=map(int,input().split()) if h==0:break for y in range(h): ''join([*]**w)
s437670184
p02403
u150984829
1513084890
Python
Python3
py
Runtime Error
0
0
94
while True: h,w=map(int,input().split()) if h==0:break for y in range(h): ''.join([*]**w)
s187805744
p02403
u150984829
1513084958
Python
Python3
py
Runtime Error
0
0
110
while True: h,w=map(int,input().split()) if h==0:break for _ in range(h): print("".join([*]**w)) print()
s792304348
p02403
u150984829
1513085013
Python
Python3
py
Runtime Error
0
0
112
while True: h,w=map(int,input().split()) if h==0:break for _ in range(h): print("".join(['*']**w)) print()
s894144277
p02403
u378741642
1514257351
Python
Python3
py
Runtime Error
0
0
169
H,W=map(int, input().split()) if H ==0 and W ==0: break else: for i in range(0,H): for j in range (0,W): print("#", end="") print("")
s366520161
p02403
u378741642
1514257471
Python
Python3
py
Runtime Error
0
0
168
H,W=map(int, input().split()) if H ==0 or W ==0: break else: for i in range(0,H): for j in range (0,W): print("#", end="") print("")
s824927853
p02403
u365686736
1514778956
Python
Python3
py
Runtime Error
0
0
105
while 1:a,b=map(int,input().split()) if a==b==0:break for i in range(a):print('#'*b) print()
s087791294
p02403
u179070318
1516004901
Python
Python3
py
Runtime Error
0
0
108
i = 1 while True: H,W = [int(x) for x in input().split( )] for i in range(H): print('#'*W)
s767861869
p02403
u179070318
1516005355
Python
Python3
py
Runtime Error
0
0
132
whle True: h,w = [int(x) for x in input().split( )] if (h,w) == (0,0): break for i in range(h): print('#'*w)
s766873966
p02403
u114628916
1517670257
Python
Python3
py
Runtime Error
0
0
543
from sys import stdin N,*datas = [int(i) for i in stdin.readlines()] now_max = max(datas[1:]) max_index = (N-1) - list(reversed(datas)).index(now_max) _min = min(datas) min_index = datas.index(_min) if max_index > min_index: diff = now_max - _min else: diff = now_max - datas[0] for i in range(1,N-1):...
s035528894
p02403
u641357568
1517671510
Python
Python3
py
Runtime Error
0
0
267
while(True): H,W = (map(int,input().split()))   if H == 0 and W == 0: break elif H == 1 and W == 1: print('#') print() continue else: for i in range(H-1): print('#' * W) print()
s908008101
p02403
u640809202
1517748733
Python
Python3
py
Runtime Error
0
0
118
while 1: a, b = map(int, input().split()) for i in a: for j in b: p+="#" print(p)
s297890362
p02403
u640809202
1517749118
Python
Python3
py
Runtime Error
0
0
183
while true: a, b = map(int, input().split()) if a == 0 and b == 0 : break for i in range(a): p="" for j in range(b): p+="#" print(p)
s829903947
p02403
u921038488
1517758638
Python
Python3
py
Runtime Error
0
0
93
while True: h, w = map(int, input().split()) for i in range(h): print('#'*w)
s455508999
p02403
u442426662
1518113532
Python
Python3
py
Runtime Error
0
0
165
for i in range(10000): H,W=input().split()) s = "" for j in range(int(W)) s = s + "#" for k in range(int(H)): print(s) print("")
s110910784
p02403
u442426662
1518113546
Python
Python3
py
Runtime Error
0
0
166
for i in range(10000): H,W=input().split()) s = "" for j in range(int(W)): s = s + "#" for k in range(int(H)): print(s) print("")
s821869197
p02403
u442426662
1518113594
Python
Python3
py
Runtime Error
0
0
206
for i in range(10000): H,W=input().split()) if H=="0" and W=="0": break s = "" for j in range(int(W)): s = s + "#" for k in range(int(H)): print(s) print("")
s946957958
p02403
u613627875
1519262001
Python
Python3
py
Runtime Error
0
0
124
while 1: if h==0 and w==0: break h,w = [int(x) for x in input().split()] for i in range(h): print("#"*w) print("")
s948086405
p02403
u613534067
1520163729
Python
Python3
py
Runtime Error
0
0
108
H, W = input().split() for i in range(H): for k in range(W): print("#", end = "") print("")
s170903117
p02403
u017435045
1520840887
Python
Python3
py
Runtime Error
0
0
115
a,b=map(int, input().split()) for i in range(a): for j in range(b): print('#') print(/n)
s708000277
p02403
u017435045
1520840923
Python
Python3
py
Runtime Error
0
0
110
a,b=map(int, input().split()) for i in range(a): for j in range(b): print('#') print(/n)
s271789920
p02403
u017435045
1520840941
Python
Python3
py
Runtime Error
0
0
127
a,b=map(int, input().split()) for i in range(a): for j in range(b): print('#') return print(/n)
s742765268
p02403
u017435045
1520840966
Python
Python3
py
Runtime Error
0
0
127
a,b=map(int, input().split()) for i in range(a): for j in range(b): print("#") return print(/n)
s125285169
p02403
u017435045
1520841207
Python
Python3
py
Runtime Error
0
0
96
a,b=map(int, input().split()) for i in range(a): for j in range(b): print("#") return /n
s015221551
p02403
u178477792
1521609744
Python
Python3
py
Runtime Error
0
0
213
h = 1 w = 1 while True: nums = list(map(int, input().split(" "))) if h == 0 and w == 0: break h = nums[0] w = nums[1] for i in range(h): for j in range(w): print("#", end="") print("") print("")
s068113251
p02403
u621084859
1522637096
Python
Python3
py
Runtime Error
0
0
155
while True: m=input().split() h=int(m[0]) w=int(m[1]) if (a==0)(b==0): break for i in range(a): print("#"*b) print()
s642873415
p02403
u621084859
1522637143
Python
Python3
py
Runtime Error
0
0
159
while True: m=input().split() h=int(m[0]) w=int(m[1]) if (a==0)(b==0): break for i in range(a): print("#"*b) print()
s458976727
p02403
u621084859
1522637156
Python
Python3
py
Runtime Error
0
0
160
while True: m=input().split() h=int(m[0]) w=int(m[1]) if (a==0)&(b==0): break for i in range(a): print("#"*b) print()
s971586288
p02403
u621084859
1522637191
Python
Python3
py
Runtime Error
0
0
160
while True: m=input().split() h=int(m[0]) w=int(m[1]) if (a==0)&(b==0): break for i in range(h): print("#"*w) print()
s346216165
p02403
u621084859
1522637237
Python
Python3
py
Runtime Error
0
0
156
while True: m=input().split() h=int(m[0]) w=int(m[1]) if a==0&b==0: break for i in range(h): print("#"*w) print()
s913352737
p02403
u621084859
1522637342
Python
Python3
py
Runtime Error
0
0
149
while True: m=input().split() h=int(m[0]) w=int(m[1]) if a==0&b==0: break for i in range(h): print("#"*w)
s362450854
p02403
u621084859
1522637449
Python
Python3
py
Runtime Error
0
0
145
while True: h=int(input()) w=int(input()) if a==0&b==0: break for i in range(h): print("#"*w) print()
s469862370
p02403
u621084859
1522637681
Python
Python3
py
Runtime Error
0
0
147
while True: h=int(input()) w=int(input()) if a==0 & b==0: break for i in range(h): print("#"*w) print()
s137136514
p02403
u621084859
1522637716
Python
Python3
py
Runtime Error
0
0
151
while True: m=input().split() h=int(m[0]) w=int(m[1]) if a==0 & b==0: break for i in range(h): print("#"*w)
s090749299
p02403
u621084859
1522637756
Python
Python3
py
Runtime Error
0
0
148
while 1: m=input().split() h=int(m[0]) w=int(m[1]) if a==0 & b==0: break for i in range(h): print("#"*w)
s378767464
p02403
u621084859
1522640958
Python
Python3
py
Runtime Error
0
0
160
while 1: m=input().split() h=int(m[0]) w=int(m[1]) if a==0 & b==0: break for i in range(h): print("#"*w) print()
s582757413
p02403
u621084859
1522641175
Python
Python3
py
Runtime Error
0
0
200
while 1: m=input().split() h=int(m[0]) w=int(m[1]) if a==0 & b==0: break for i in range(h): for j in range(w) print("#"*w) print() print()
s579573038
p02403
u621084859
1522641634
Python
Python3
py
Runtime Error
0
0
202
while 1: m=input().split() h=int(m[0]) w=int(m[1]) if a==0 & b==0: break for i in range(h): for j in range(w): print("#"*w) print() print()
s761236053
p02403
u621084859
1522641678
Python
Python3
py
Runtime Error
0
0
208
while 1: m=input().split() h=int(m[0]) w=int(m[1]) if a==0 & b==0: break for i in range(h): for j in range(w): print("#"*w) print(" ") print(" ")
s273530059
p02403
u621084859
1522641741
Python
Python3
py
Runtime Error
0
0
211
while True: m=input().split() h=int(m[0]) w=int(m[1]) if a==0 & b==0: break for i in range(h): for j in range(w): print("#"*w) print(" ") print(" ")
s397965216
p02403
u621084859
1522641953
Python
Python3
py
Runtime Error
0
0
211
while True: m=input().split() h=int(m[0]) w=int(m[1]) if a==0 & b==0: break for i in range(h): for j in range(w): print("#"*w) print(" ") print(" ")
s036101529
p02403
u621084859
1522641993
Python
Python3
py
Runtime Error
0
0
207
while True: m=input().split() h=int(m[0]) w=int(m[1]) if a==b==0: break for i in range(h): for j in range(w): print("#"*w) print(" ") print(" ")
s145377666
p02403
u621084859
1522642682
Python
Python3
py
Runtime Error
0
0
198
while True: x=input().split() h=int(x[0]) w=int(x[0]) if a==0 and b==0:break for i in range (h): for j in range (w): print('#'*w) print() print()
s062078952
p02403
u621084859
1522642750
Python
Python3
py
Runtime Error
0
0
204
while True: x=input().split() h=int(x[0]) w=int(x[0]) if a==0 and b==0:break for i in range (h): for j in range (w): print('#'*w) print(" ") print(" ")
s498208022
p02403
u621084859
1522642769
Python
Python3
py
Runtime Error
0
0
185
while True: x=input().split() h=int(x[0]) w=int(x[0]) if a==0 and b==0:break for i in range (h): for j in range (w): print('#'*w) print(" ")
s869356812
p02403
u621084859
1522642783
Python
Python3
py
Runtime Error
0
0
181
while True: x=input().split() h=int(x[0]) w=int(x[0]) if a==0 and b==0:break for i in range (h): for j in range (w): print('#'*w) print(" ")
s777970758
p02403
u621084859
1522642806
Python
Python3
py
Runtime Error
0
0
150
while True: x=input().split() h=int(x[0]) w=int(x[0]) if a==0 and b==0:break for i in range (h): print('#'*w) print()
s117230996
p02403
u602702913
1522747601
Python
Python3
py
Runtime Error
0
0
122
while True: h,w=map(int,input().split()) for i in range(h): if h==w==0: break else: print("#"*w)
s805329924
p02403
u095590628
1523591950
Python
Python3
py
Runtime Error
0
0
133
H,W = tuple(int(n) for n in input().split()) if H == 0 and W == 0: break for h in range(H): print("#"*W)
s886757490
p02403
u485986915
1524478009
Python
Python3
py
Runtime Error
0
0
91
H,W = map(int,input().split()) if H ==0 and W==0: break else: print(("#"*W+"¥n")*H)
s256115134
p02403
u485986915
1524478243
Python
Python3
py
Runtime Error
0
0
88
H,W = map(int,input().split()) if H ==0 and W==0: break else: print(("#"*W+"¥n")*H)
s066955714
p02403
u485986915
1524478262
Python
Python3
py
Runtime Error
0
0
117
While True: H,W = map(int,input().split()) if H ==0 and W==0: break else: print(("#"*W+"¥n")*H)
s973478772
p02403
u485986915
1524478296
Python
Python3
py
Runtime Error
0
0
103
While True: H,W = map(int,input().split()) if H ==0 and W==0: break print(("#"*W+"¥n")*H)
s852884535
p02403
u485986915
1524478379
Python
Python3
py
Runtime Error
0
0
120
while True: H,W = map(int,input().split()) if H ==0 and W==0 : break else: print(("#"*W+"¥n")*H)
s653220103
p02403
u485986915
1524479268
Python
Python3
py
Runtime Error
0
0
129
while True: H,W = map(int,input().split()) if H ==0 and W==0: break for i in range(H) print(('#'*W + '¥n'))
s429488958
p02403
u648117624
1524566882
Python
Python3
py
Runtime Error
0
0
133
H, W = int(input().split()) while True: if (H + W == 0) : break for i in range(0, W-1): print('#' * H)
s290969043
p02403
u648117624
1524566883
Python
Python3
py
Runtime Error
0
0
133
H, W = int(input().split()) while True: if (H + W == 0) : break for i in range(0, W-1): print('#' * H)
s275903561
p02403
u648117624
1524567090
Python
Python3
py
Runtime Error
0
0
131
H, W = map(int(input().split())) while True: if (H + W == 0) : break for i in range(0, H-1): print('#' * W)
s376258948
p02403
u876060624
1524843301
Python
Python3
py
Runtime Error
0
0
127
x = '#' while True: H,W = map(int(input().split())) if ( H * W == 0): break for i in range(H): print(x*W) print('/n')
s112348495
p02403
u592529978
1525392751
Python
Python
py
Runtime Error
0
0
109
while True : h,w = map(int, raw_input().split()) if h+w == 0 : break for y in xrange(h): print ('#' * w)
s171953521
p02403
u908651435
1525679940
Python
Python3
py
Runtime Error
0
0
126
while True: if h==0 and w==0: break h,w=map(int, input().split()) for i in range(h): print('#'*w)
s417726373
p02403
u781194524
1525919807
Python
Python3
py
Runtime Error
0
0
157
while True: H,W=[int(x) for x in input().split()] if H == 0 and W == 0 : break for a in range(H): for b in range(W): print("#")
s189366465
p02403
u313089641
1526206666
Python
Python3
py
Runtime Error
0
0
154
def print_fig(h, w): for _ in range(h): print("#" * w) print("") while True: x = input().split() print_fig(int(x[0]), int(x[1]))
s085093696
p02403
u303842929
1527223284
Python
Python3
py
Runtime Error
0
0
679
#include <iostream> #include <cstdlib> #include <vector> #include <algorithm> using namespace std; int main(){ while(true){ int H, W; cin >> H >> W; if(H == 0 && W == 0){ cout << '\n'; return EXIT_SUCCESS; } for(int i = 0; i < H; i++){ for(int j = 0; j < W; j++){ cout << '#'; } cout << '\...
s777141185
p02403
u303842929
1527223293
Python
Python3
py
Runtime Error
0
0
350
#include <iostream> #include <cstdlib> #include <vector> #include <algorithm> using namespace std; int main(){ while(true){ int H, W; cin >> H >> W; if(H == 0 && W == 0){ cout << '\n'; return EXIT_SUCCESS; } for(int i = 0; i < H; i++){ for(int j = 0; j < W; j++){ cout << '#'; } cout << '\...
s273321651
p02403
u007066325
1527458379
Python
Python3
py
Runtime Error
0
0
186
while True: a,b = map(int, input(.split())) if a ==0 and b == 0: break for i in range(a): for i in range(b): print("#", end = "") print()
s058744684
p02403
u007066325
1527458397
Python
Python3
py
Runtime Error
0
0
188
while True: a,b = map(int, input().split())) if a ==0 and b == 0: break for i in range(a): for i in range(b): print("#", end = "") print()
s974330062
p02403
u237094818
1527608133
Python
Python
py
Runtime Error
0
0
213
# -*- coding: utf-8 while True: if map(int,raw_input().split()) == [0,0]: break else: A = map(int,raw_input().split()) for i in range(A[0]): print('#'*A[1]) print('\n')
s299271486
p02403
u237094818
1527608549
Python
Python
py
Runtime Error
0
0
192
# -*- coding: utf-8 while True: if map(int,raw_input().split()) == [0,0]: break A = map(int,raw_input().split()) for i in range(A[0]): print('#'*A[1]) print('\n')
s679758309
p02403
u237094818
1527609221
Python
Python
py
Runtime Error
0
0
193
# -*- coding: utf-8 while True: if map(int,raw_input().split()) == [0,0]: break a = map(int,raw_input().split()) for i in range(a[0]): print('#'*a[1]) print('\n')
s425802455
p02403
u237094818
1527609303
Python
Python
py
Runtime Error
0
0
190
# -*- coding: utf-8 while True: if map(int,raw_input().split()) == [0,0]: break a = map(int,raw_input().split()) for i in range(a[0]): print('#'*a[1]) print(i)
s980293817
p02403
u237094818
1527609600
Python
Python
py
Runtime Error
0
0
173
# -*- coding: utf-8 while True: if raw_input() == '0 0': break a = map(int,raw_input().split()) for i in range(a[0]): print('#'*a[1]) print(i)
s053109206
p02403
u237094818
1527610463
Python
Python
py
Runtime Error
0
0
162
# -*- coding: utf-8 while True: a = map(int,raw_input().split()) if a == [0,0]: break for i in range(a[0]): print('#'*a[1]) print('')
s767577196
p02403
u990900604
1527824009
Python
Python
py
Runtime Error
0
0
265
#!/usr/bin/env python #-*- coding: utf-8 -*- import sys if __name__ == '__main__': while 1: line = raw_input() if line == '0 0': break a, b = line.split() for i in range(a): print '#' * b print
s193354383
p02403
u500257793
1528085999
Python
Python3
py
Runtime Error
0
0
347
import java.util.Scanner; class Main{ public static void main(String aegs[]){ int w,h,i,j; Scanner sc = new Scanner(System.in); while(true){ h=sc.nextInt(); w=sc.nextInt(); if(h==0 && w==0) break; for(i=0;i<h;i++){ for(j=0;j<w;j++) System.out.print("#"); System.out.println();} Syst...
s780735514
p02403
u597483031
1528516024
Python
Python3
py
Runtime Error
0
0
152
while True: a,b=input().split() if a=b=0: break a=int(a) b=int(b) for in range (a-1): print("#"*b) print( )
s468099779
p02403
u597483031
1528516390
Python
Python3
py
Runtime Error
0
0
154
while True: a,b=input().split() if a==b==0: break a=int(a) b=int(b) for i in range (a): print("#"*b) print( )
s573265365
p02403
u400765446
1529775453
Python
Python3
py
Runtime Error
0
0
215
def main(): while True; H, W = tuple(map(int, input().split())) if (H, W) == (0, 0): break for i in range(H): print("#"*W) if __name__ == '__main__': main()
s174530709
p02403
u912237403
1370869158
Python
Python
py
Runtime Error
0
0
255
import sys x = [] for line in sys.stdin: h,w = line.split() h,w = int(h), int(w) if h == 0 and w== 0: break x.append([h,w]) for i in range(len(x)): h, w = x[i] s = '#' * w for j in range(h): print s if i !< len(x)-1: print
s995044021
p02403
u140201022
1381751517
Python
Python
py
Runtime Error
0
0
101
(m,n)=map(int, raw_input().split()) if n==0 & m==0 : break else: print ((('#'*n)+'\n')*m)
s892897360
p02403
u140201022
1381751592
Python
Python
py
Runtime Error
0
0
100
(m,n)=map(int, raw_input().split()) if n==0 & m==0 : break else: print ((('#'*n)'\n')*m)
s922636116
p02403
u140201022
1381751759
Python
Python
py
Runtime Error
0
0
102
(m,n)=map(int, raw_input().split()) if n==0 and m==0 : break else: print ((('#'*n)'\n')*m)
s947370016
p02403
u193025715
1394691927
Python
Python
py
Runtime Error
0
0
220
#!/usr/bin/python import sys while 1: num = raw_input().split(" ") H = int(num[0]) W = int(num[1]) wide = "#" for i in range(W) if H == 0 and W == 0: sys.exit() for i in range(H): print wide + "\n"
s699821220
p02403
u193025715
1394692479
Python
Python
py
Runtime Error
0
0
293
#!/usr/bin/python import sys num_list = [] while 1: if num=raw_input() is not "0 0": num_list.append(num.split(" ")) for x in range(len(num_list)): wide = "" for i in range(int(num_list[x][1])): wide += "#" for i in range(int(num_list[x][0])): print wide sys.exit()
s340308530
p02404
u677096240
1535441738
Python
Python3
py
Runtime Error
0
0
270
while True: h, w = map(int, input().split()) if w+h == 0: break line = "" for idx, y in enumerate(h): if idx == 0 or idx == h-1: line = "#"*w else: line = "#"+"."*(w-2)+"#" print(line) print()
s503595229
p02404
u277375424
1540373091
Python
Python3
py
Runtime Error
0
0
250
while True: H,W = map(int,input().split()) if H == W == 0: break for i in range(H): if i = 1: print("#"*W) elif i = H: print("#"*W) else: print("#","・"*(W-2),"#")
s840015036
p02404
u277375424
1540373116
Python
Python3
py
Runtime Error
0
0
257
while True: H,W = map(int,input().split()) if H == W == 0: break for i in range(H): if i = 1: print("#"*W) elif i = H: print("#"*W) else: print("#","・"*(W-2),"#") print()
s118418622
p02404
u277375424
1540373139
Python
Python3
py
Runtime Error
0
0
257
while True: H,W = map(int,input().split()) if H == W == 0: break for i in range(H): if i = 1: print("#"*W) elif i = H: print("#"*W) else: print("#","・"*(W-2),"#") print()
s080386878
p02404
u277375424
1540373159
Python
Python3
py
Runtime Error
0
0
262
while True: H,W = map(int,input().split()) if H == W == 0: break for int(i) in range(H): if i = 1: print("#"*W) elif i = H: print("#"*W) else: print("#","・"*(W-2),"#") print()