s_id
string
p_id
string
u_id
string
date
string
language
string
original_language
string
filename_ext
string
status
string
cpu_time
string
memory
string
code_size
string
code
string
error
string
stdout
string
s766194281
p02404
u277375424
1540373836
Python
Python3
py
Runtime Error
0
0
216
while True: H,W = map(int,input().split()) if H == W == 0: break for i in range(1, H): if i == 1,H: print("#"*W) else: print("#","."*(W-2),"#") print()
File "/tmp/tmp026i2i93/tmp4op7xgo9.py", line 6 if i == 1,H: ^ SyntaxError: invalid syntax
s509495499
p02404
u277375424
1540374796
Python
Python3
py
Runtime Error
0
0
333
while True: data = [int(x) for x in input().split(' ')] H = data[0] W = data[1] if H == 0 and W == 0: break for i in range(H): if i == 0 or i == H-1: print('#' * W) else: print('#' + '.'*(W-2) + '#') ...
File "/tmp/tmpa05e5sz8/tmp8oo6up3y.py", line 1 while True: IndentationError: unexpected indent
s155573550
p02404
u277375424
1540374829
Python
Python3
py
Runtime Error
0
0
287
if __name__ == '__main__': while True: H,W = map(int,input().split()) if H == W == 0: break for i in range(1, H): if i == 1: print("#"*W) elif i == H: print("#"*W) else: print("#","."*(W-2),"#") print()
File "/tmp/tmpqjq0139e/tmpc1hye2ui.py", line 2 while True: ^ IndentationError: expected an indented block after 'if' statement on line 1
s657981054
p02404
u075006557
1541060966
Python
Python3
py
Runtime Error
0
0
272
while True: a, b = map(int, input().split()) if(a == 0 and b == 0): break for i in range(a): for j in range(b): if(1 < i < a and 1 < j < b): print(".", end = "") else print("#", end = "") print()
File "/tmp/tmpumzxbz0a/tmpy3qmxwg0.py", line 9 else print("#", end = "") ^^^^^ SyntaxError: expected ':'
s170501812
p02404
u498462680
1546263757
Python
Python3
py
Runtime Error
0
0
645
while True: H,W = [int(i) for in input().split()] if H == 0 and W == 0: break else: for line in list(range(1,H+1,1)): for column in list(range(1,W+1,1)): if line == 1 or line == H: if column == W: print("#") ...
File "/tmp/tmp2k6moivh/tmpti0yl28h.py", line 2 H,W = [int(i) for in input().split()] ^^ SyntaxError: invalid syntax
s520948135
p02404
u175224634
1551543008
Python
Python3
py
Runtime Error
0
0
222
while True: H, W = map(int, input().split()) if H == 0 and W == 0: break for i in range(H): if i != 0 or i != H-1: print("#"+"." * (W-2)+"#") else print("#" * W) print()
File "/tmp/tmpoxp0_ixf/tmpd8ofxdur.py", line 8 else print("#" * W) ^^^^^ SyntaxError: expected ':'
s755569600
p02404
u175224634
1551543298
Python
Python3
py
Runtime Error
0
0
201
while True: H, W = map(int, input().split()) if H == 0 and W == 0: break print("#" * W) for i in range(H-2): print("#"+"."*(W-2)+"#") print("#" * W) print()
File "/tmp/tmpxs4_qz7r/tmpm_wv8did.py", line 3 if H == 0 and W == 0: ^ IndentationError: unindent does not match any outer indentation level
s737819779
p02404
u175224634
1551545699
Python
Python3
py
Runtime Error
0
0
236
while True:     H,W = map(int,input().split())     if H==W==0:         break;     print("#"*W)     for i in range(0,H-2):         print("#"+"."*(W-2)+"#")     print("#"*W)     print()
File "/tmp/tmp7e880_sw/tmpti89fqvk.py", line 2     H,W = map(int,input().split()) ^ SyntaxError: invalid non-printable character U+00A0
s799018320
p02404
u482227082
1556422616
Python
Python3
py
Runtime Error
0
0
267
while True: h,w = map(int, input().split()) if h == 0 and w == 0: break else: for i in range(h): if i == 0 or i == h-1 print("#" * w) else: print("#" + "." * (w-2) + "#") print()
File "/tmp/tmp3ijdkie7/tmp5mpr8ge1.py", line 7 if i == 0 or i == h-1 ^ SyntaxError: expected ':'
s185704605
p02404
u482227082
1556422627
Python
Python3
py
Runtime Error
0
0
269
while True: h,w = map(int, input().split()) if h == 0 and w == 0: break else: for i in range(h): if i == 0 or i == (h-1) print("#" * w) else: print("#" + "." * (w-2) + "#") print()
File "/tmp/tmpersroscg/tmp4tu26pgt.py", line 7 if i == 0 or i == (h-1) ^ SyntaxError: expected ':'
s804671450
p02404
u681232780
1556507453
Python
Python3
py
Runtime Error
0
0
226
while True : H,W = map(int,input().split()) if W == 0 and H == 0 : break for i in range(H) : if i == 0 or i == H-1 : print('#'*W) else : print('#' + '.'*(W-2) + '#') print('')
File "/tmp/tmpfhw7pxwb/tmpqef94xke.py", line 10 print('') ^ IndentationError: unindent does not match any outer indentation level
s094314066
p02404
u629874472
1559036682
Python
Python3
py
Runtime Error
0
0
117
while True: h,w = map(int,input().split()) for i in range(h): print('#'+'.'*(w-2)+'#') print('')
Traceback (most recent call last): File "/tmp/tmppw3hd12k/tmpt86vg2ey.py", line 2, in <module> h,w = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s735153729
p02404
u629874472
1559037782
Python
Python3
py
Runtime Error
0
0
190
while True: h,w = map(int,input().split()) for i in range(h): if i == 0 or i== h-1: print('#'*w) else: print('#'+'.'*(w-2)+'#') print('')
Traceback (most recent call last): File "/tmp/tmpkltg4zm8/tmpm42epd4s.py", line 2, in <module> h,w = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s520828963
p02404
u535719732
1559197986
Python
Python3
py
Runtime Error
0
0
508
while True: num = list(map(int,input().split())) if(num[0] == 0 and num[1] == 0): break else: flag = False for i in range(num[0]): str = "" if(i == 0 or i == num[0]-1): flag=True else: flag=False for j in range(num[1]): if(j == ...
File "/tmp/tmpovw1jwth/tmphf31z2hu.py", line 11 if(j == 0 or j == num[1]-1 or flag=True): ^ SyntaxError: invalid syntax
s932363969
p02404
u818126736
1559540549
Python
Python3
py
Runtime Error
0
0
210
for i in range(100000): H,W = map(int,input().split(" ")) if H + W == 0: break print("#"*W) for j in range(h-2): print("#" + "."*(W-2) + "#") print("#"*W) print("")
Traceback (most recent call last): File "/tmp/tmp8qsj6bxk/tmpnk09vcr6.py", line 2, in <module> H,W = map(int,input().split(" ")) ^^^^^^^ EOFError: EOF when reading a line
s158303823
p02404
u433250944
1559540898
Python
Python3
py
Runtime Error
0
0
248
while True: H, W = map(int, input().split()) if H == 0 and W == 0 : break for i in range(H): for j in range(W): if : print("#", end="") else: print(".", end="") print()
File "/tmp/tmp_aaf0ui2/tmpne3p7cok.py", line 8 if : ^ SyntaxError: invalid syntax
s700676540
p02404
u527848444
1422845671
Python
Python3
py
Runtime Error
0
0
338
while True: (H,W) = [int(x) for x in input().split()] if H == W == 0: break for hc in range(H): for wc in range(W): if hc == 0 or hc == H - 1 or wc == 0 or wc == W - 1: print('#' ,end=' ') else: print('.',end=' ') print...
File "/tmp/tmphd_78nlm/tmphe9mavlw.py", line 10 else: ^^^^ SyntaxError: invalid syntax
s311749984
p02404
u442346200
1422845725
Python
Python3
py
Runtime Error
0
0
340
while True: (H, W) = [int(x) for x in input().split()] if H == W == 0: break for hc in range(H): for wc in range(W): if hc == 0 or hc == H - 1 or wc == 0 or wc == W - 1: print('#' , end = ' ') else: print('.', end = ' ') ...
File "/tmp/tmpm212pfqi/tmpcmkrp1if.py", line 12 print() ^ IndentationError: unindent does not match any outer indentation level
s830120139
p02404
u636711749
1422845753
Python
Python3
py
Runtime Error
0
0
409
while True: (H, W) = [int(x) for x in input().split()] if H == W == 0: break for hc in range(H): for wc in range(W): if hc == 0 or hc == H - 1 or wc == 0 or wc == W - 1: print('#', end='') else: print('.'...
File "/tmp/tmpdp6mgft4/tmpfyeqkg1e.py", line 6 for hc in range(H): ^ IndentationError: unindent does not match any outer indentation level
s583391704
p02404
u442346200
1422846155
Python
Python3
py
Runtime Error
0
0
336
while True: (H, W) = [int(x) for x in input().split()] if H == W == 0: break for hc in range(H): for wc in range(W): if hc == 0 or hc == H - 1 or wc == 0 or wc == W - 1: print('#' , end = ' ') else: print('.', end = ' ') pri...
File "/tmp/tmpqfgd4zpl/tmpsfmpgayo.py", line 12 print() ^ IndentationError: unindent does not match any outer indentation level
s187260712
p02404
u527848444
1422846237
Python
Python3
py
Runtime Error
0
0
264
while True: (H,W) = [int(x) for x in input().split()] if H == W == 0: break for hc in range(H): if hc == 0 or hc == H - 1: print('#'* W) else: print('#' + '.' * (W - 2) + '#') print()
File "/tmp/tmpce1ue6yu/tmp_8mba3q2.py", line 9 else: ^ IndentationError: unindent does not match any outer indentation level
s693079832
p02404
u193599711
1423111173
Python
Python3
py
Runtime Error
0
0
441
data_h = [] data_w = [] while True: h, w = (int(i) for i in input().split()) if h == w == 0: break else: data_h.append(h) data_w.append(w) for count in range(len(data_h)): h = data_h[count] w = data_w[count] for i in range(h): print('#',end='') for j in range(w): if i == 0 or i == r...
Traceback (most recent call last): File "/tmp/tmpil7uo2b4/tmpuq5p3ans.py", line 4, in <module> h, w = (int(i) for i in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s531163773
p02404
u376883550
1424090926
Python
Python
py
Runtime Error
0
0
246
H, W = map(int, raw_input().split()) while H | W != 0: for i in range(H): if i == 0 or i == H - 1: print '#' * W else: print '#' + '.' * W - 2 + '#' print '' H, W = map(int, raw_input().split())
File "/tmp/tmp6vhv8jjg/tmpxdw5i4cn.py", line 5 print '#' * W ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s889097424
p02404
u971748390
1431074991
Python
Python3
py
Runtime Error
0
0
173
while true: H,W = map(int,raw_input().split()) if:W==0 and H==0 : break else: print ('#' * W + '\n') print ('#'+ '.'*(W-2)+ '#'+'\n')*(H-2) print ('#'*W + '\n')
File "/tmp/tmp5t1r84v5/tmpgcryqchb.py", line 2 H,W = map(int,raw_input().split()) ^ IndentationError: expected an indented block after 'while' statement on line 1
s324596673
p02404
u971748390
1431075058
Python
Python3
py
Runtime Error
0
0
174
while true: H,W = map(int,raw_input().split()) if W==0 and H==0 : break else : print ('#' * W + '\n') print ('#'+ '.'*(W-2)+ '#'+'\n')*(H-2) print ('#'*W + '\n')
File "/tmp/tmpdb61n7x2/tmpleyq8qjv.py", line 2 H,W = map(int,raw_input().split()) ^ IndentationError: expected an indented block after 'while' statement on line 1
s669095207
p02404
u971748390
1431075179
Python
Python3
py
Runtime Error
0
0
176
while true: H,W = map(int,raw_input().split()) if W==0 and H==0 : break else : print ('#' * W + '\n') print (('#'+ '.'*(W-2)+ '#'+'\n')*(H-2)) print ('#'*W + '\n')
File "/tmp/tmpaolfioyo/tmpfmv636nq.py", line 2 H,W = map(int,raw_input().split()) ^ IndentationError: expected an indented block after 'while' statement on line 1
s048810006
p02404
u971748390
1431075308
Python
Python3
py
Runtime Error
0
0
195
while true: H,W = map(int,raw_input().split()) if W==0 and H==0 : break else : print ('#' * W + '\n') for i in range(H-2) : print ('#'+ '.'*(W-2)+ '#'+'\n') print ('#'*W + '\n')
File "/tmp/tmp9g3iu6_y/tmp7k_vvlq8.py", line 2 H,W = map(int,raw_input().split()) ^ IndentationError: expected an indented block after 'while' statement on line 1
s708650402
p02404
u162387221
1431156777
Python
Python
py
Runtime Error
0
0
173
while True: H, W = map(int, raw_input().split()) if H == W == 0: break print '#'*W for i in range(H-2): print '#'+'.'*(W-2)+'#' print '#'*W+'\n'
File "/tmp/tmpb2i410il/tmppap0z6br.py", line 1 while True: IndentationError: unexpected indent
s565035336
p02404
u446066125
1437962079
Python
Python3
py
Runtime Error
0
0
206
while True : (H, W) = [int(i) for i in input().split()] if H == W == 0: break ??????print('#' * W) for i in range(H - 2) : print('#' + ('.' * (W - 2)) + '#') print('#' * W)
File "/tmp/tmp_z16ubns/tmp1_dm6hk5.py", line 7 ??????print('#' * W) ^ SyntaxError: invalid syntax
s051850450
p02404
u446066125
1437962149
Python
Python3
py
Runtime Error
0
0
228
while True : (H, W) = [int(i) for i in input().split()] if H == W == 0: break ??????print(('#' * W) + '\n') for i in range(H - 2) : print('#' + ('.' * (W - 2)) + '#\n') print(('#' * W) + '\n')
File "/tmp/tmpsrkair4e/tmpi0gxno8x.py", line 7 ??????print(('#' * W) + '\n') ^ SyntaxError: invalid syntax
s734588206
p02404
u446066125
1437962258
Python
Python3
py
Runtime Error
0
0
240
while True : (H, W) = [int(i) for i in input().split()] if H == W == 0: break ??????print(('#' * W) + '\n') for i in range(H - 2) : print('#' + ('.' * (W - 2)) + '#\n') print(('#' * W) + '\n') print()
File "/tmp/tmpew1c2bzj/tmps43f5ckd.py", line 7 ??????print(('#' * W) + '\n') ^ SyntaxError: invalid syntax
s022375278
p02404
u925228699
1437962320
Python
Python3
py
Runtime Error
0
0
208
while True : (H, W) = [int(i) for i in input().split()] if H == W == 0: break ??????print('#' * W) for i in range(H - 2) : print('#' + ('.' * (W - 2)) + '#') print('#' * W)
File "/tmp/tmpuoeznghl/tmpbabrm42a.py", line 7 ??????print('#' * W) ^ SyntaxError: invalid syntax
s021076616
p02404
u446066125
1437964060
Python
Python3
py
Runtime Error
0
0
218
while True : (H, W) = [int(i) for i in input().split()] if H == W == 0: break print('#' * W) for a in range(H - 2): print('#' + ('.' * (W - 2)) + '#') print('#' * W) ??????print()
File "/tmp/tmp99zyts3r/tmpx8ldwyv4.py", line 12 ??????print() ^ SyntaxError: invalid syntax
s849676744
p02404
u446066125
1437964123
Python
Python3
py
Runtime Error
0
0
216
while True : (H, W) = [int(i) for i in input().split()] if H == W == 0: break print('#' * W) for a in range(H - 2): print('#' + '.' * (W - 2) + '#') print('#' * W) ??????print()
File "/tmp/tmpq_qsvx44/tmpb7ia1sur.py", line 12 ??????print() ^ SyntaxError: invalid syntax
s218811717
p02404
u446066125
1437964350
Python
Python3
py
Runtime Error
0
0
216
while True : (H, W) = [int(i) for i in input().split()] if H == W == 0: break print('#' * W) for a in range(H - 2): print('#' + '.' * (W - 2) + '#') print('#' * W) ??????print()
File "/tmp/tmpampago8n/tmp35h5jdir.py", line 12 ??????print() ^ SyntaxError: invalid syntax
s674647358
p02404
u446066125
1437964676
Python
Python
py
Runtime Error
0
0
214
while True : (H, W) = [int(i) for i in input().split()] if H == W == 0: break print('#' * W) for a in range(H - 2): print("#" + "." * (W - 2) + "#") print('#' * W) print()
Traceback (most recent call last): File "/tmp/tmpiqve0oyv/tmp3_8_rkx5.py", line 2, in <module> (H, W) = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s809074158
p02404
u446066125
1437964778
Python
Python
py
Runtime Error
0
0
214
while True : (H, W) = [int(i) for i in input().split()] if H == W == 0: break print('#' * W) for a in range(H - 2): print('#' + '.' * (W - 2) + '#') print('#' * W) print()
Traceback (most recent call last): File "/tmp/tmptu3tq62p/tmpg3p5p_y6.py", line 2, in <module> (H, W) = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s042629226
p02404
u925228699
1437966696
Python
Python3
py
Runtime Error
0
0
257
while True: (H, W) =[int(i) for i in input(). split()] if H == W ==0: break for a in range(H): for b in range(W): if (a + b) % 2 == 0: print('#', end='') else: print('.',end='') print() print()
File "/tmp/tmp73g6aje6/tmp9jlz2ckf.py", line 3 if H == W ==0: ^ IndentationError: unindent does not match any outer indentation level
s196645784
p02404
u925228699
1437966790
Python
Python3
py
Runtime Error
0
0
257
while True: (H, W) =[int(i) for i in input(). split()] if H == W ==0: break for a in range(H): for b in range(W): if (a + b) % 2 == 0: print('#', end='') else: print('.',end=``) print() print()
File "/tmp/tmpevevhsfb/tmpx4q7wop5.py", line 3 if H == W ==0: ^ IndentationError: unindent does not match any outer indentation level
s219025959
p02404
u473077745
1439858314
Python
Python3
py
Runtime Error
0
0
202
while True: (H, W) = [int(i) for i in input().split()] if H == W == 0: break for a in range(H): for b in range(w): print('#', end='') print() print()
Traceback (most recent call last): File "/tmp/tmp8wpzws_3/tmpmcjpeijh.py", line 2, in <module> (H, W) = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s763720064
p02404
u734743631
1442562925
Python
Python
py
Runtime Error
0
0
366
while True: h, w = map(int, raw_input().split()) if h == 0 and w == 0: break else: if w <= 2: for i in range(h): print a * w else: for i in range(h): if i == 0 or i == h - 1: print a * w else:...
File "/tmp/tmphcmnn3p5/tmpndht9ofy.py", line 8 print a * w ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s725183712
p02404
u233232390
1453863535
Python
Python
py
Runtime Error
0
0
181
while 1: H,W = map(int, raw_input().split()) if h == w == 0: break print '#'*w for i in range(h-2): if w >= 2: print '#'+'.'*(w-2)+'#' else: print '#' print '#'*w
File "/tmp/tmpanu6dpoi/tmpkhp9zbbt.py", line 5 print '#'*w ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s606021608
p02404
u233232390
1453863570
Python
Python
py
Runtime Error
0
0
180
while 1: H,W = map(int, raw_input().split()) if h == w == 0: break print '#'*w for i in range(h-2): if w >= 2: print '#'+'.'*(w-2)+'#' else: print '#' print '#'*w
File "/tmp/tmpjwo5srep/tmp7f30mu31.py", line 5 print '#'*w ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s138135375
p02404
u233232390
1453863580
Python
Python
py
Runtime Error
0
0
179
while 1: H,W = map(int, raw_input().split()) if h == w == 0: break print '#'*w for i in range(h-2): if w >= 2: print '#'+'.'*(w-2)+'#' else: print '#' print '#'*w
File "/tmp/tmpws9fgxtu/tmpq4wxanni.py", line 5 print '#'*w ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s561688453
p02404
u233232390
1453863615
Python
Python
py
Runtime Error
0
0
178
while 1: H,W = map(int, raw_input().split()) if h == w == 0: break print '#'*w for i in range(h-2): if w >= 2: print '#'+'.'*(w-2)+'#' else: print '#' print '#'*w
File "/tmp/tmpfvi7v1sc/tmppsk2znql.py", line 4 break ^ IndentationError: expected an indented block after 'if' statement on line 3
s854825733
p02404
u233232390
1453863661
Python
Python
py
Runtime Error
0
0
193
while 1: H,W = map(int, raw_input().split()) if h == w == 0: break else: print '#'*w for i in range(h-2): if w >= 2: print '#'+'.'*(w-2)+'#' else: print '#' print '#'*w
File "/tmp/tmppof5blqc/tmp54sov7dn.py", line 6 print '#'*w ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s832592082
p02404
u233232390
1453863698
Python
Python
py
Runtime Error
0
0
204
while 1: H,W = map(int, raw_input().split()) if h == w == 0: break else: print '#'*w for i in range(h-2): if w >= 2: print '#'+'.'*(w-2)+'#' else: print '#' print '#'*w print' '
File "/tmp/tmp2l2_6w76/tmpqooa7bzf.py", line 6 print '#'*w ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s288395803
p02404
u803327846
1453877918
Python
Python
py
Runtime Error
0
0
196
while 1: h, w = map(int, input().split) if h == w == 0: break for i in range(h) if i == 0 or i == h-1: print "#" * w else: print "#" + "." * (w - 2) + "#" print ""
File "/tmp/tmpk4a_m9yp/tmpv65ade4d.py", line 5 for i in range(h) ^ SyntaxError: expected ':'
s645935980
p02404
u803327846
1453877923
Python
Python
py
Runtime Error
0
0
196
while 1: h, w = map(int, input().split) if h == w == 0: break for i in range(h) if i == 0 or i == h-1: print "#" * w else: print "#" + "." * (w - 2) + "#" print ""
File "/tmp/tmp2urotoff/tmpwi_l2ss7.py", line 5 for i in range(h) ^ SyntaxError: expected ':'
s130598001
p02404
u803327846
1453877952
Python
Python
py
Runtime Error
0
0
197
while 1: h, w = map(int, input().split) if h == w == 0: break for i in range(h): if i == 0 or i == h-1: print "#" * w else: print "#" + "." * (w - 2) + "#" print ""
File "/tmp/tmp2yexsrbo/tmpa4rz5ziz.py", line 7 print "#" * w ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s911231270
p02404
u803327846
1453877969
Python
Python
py
Runtime Error
0
0
199
while 1: h, w = map(int, input().split()) if h == w == 0: break for i in range(h): if i == 0 or i == h-1: print "#" * w else: print "#" + "." * (w - 2) + "#" print ""
File "/tmp/tmp084tedwq/tmp29o1unjq.py", line 7 print "#" * w ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s248297918
p02404
u803327846
1453878022
Python
Python
py
Runtime Error
0
0
197
while 1: h, w = map(int, input().split()) if h == w == 0: break for i in range(h): if i == 0 or i == h-1: print "#" * w else: print "#" + "."*(w - 2) + "#" print ""
File "/tmp/tmpsbkebxpd/tmp1wwleruu.py", line 7 print "#" * w ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s775356983
p02404
u834416077
1454153954
Python
Python
py
Runtime Error
0
0
315
import sys while(1): H,W = map(int, raw_input().split()) if H==0 and W==0: break for i in range(H): sys.stdout.white("#") for j in range(1,W-1): if i == 1 or i == H: sys.stdout.write("#") else: sys.stdout.write(".") sys.stdout.white("#") print "" print ""
File "/tmp/tmp8q12iz77/tmpn7kvqjmd.py", line 14 print "" ^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s162874462
p02404
u834416077
1454154029
Python
Python
py
Runtime Error
0
0
304
import sys while(1): H,W = map(int, raw_input().split()) if H==0 and W==0: break for i in range(H): sys.stdout.white("#") for j in range(1,W-1): if i == 1 or i == H: sys.stdout.write("#") else: sys.stdout.write(".") sys.stdout.white("#\n") print ""
File "/tmp/tmpr572nsf7/tmptaaksy13.py", line 14 print "" ^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s234215965
p02404
u834416077
1454154105
Python
Python
py
Runtime Error
0
0
304
import sys while(1): H,W = map(int, raw_input().split()) if H==0 and W==0: break for i in range(H): sys.stdout.white("#") for j in range(2,W-1): if i == 1 or i == H: sys.stdout.write("#") else: sys.stdout.write(".") sys.stdout.white("#\n") print ""
File "/tmp/tmpbblox4ut/tmp3hnchr9r.py", line 14 print "" ^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s349358916
p02404
u834416077
1454154360
Python
Python
py
Runtime Error
0
0
314
import sys while(1): H,W = map(int, raw_input().split()) if H==0 and W==0: break for i in range(H): sys.stdout.white("#") for j in range(2,W-1): if i == 1 or i == H: sys.stdout.write("#") else: sys.stdout.write(".") sys.stdout.white("#\n") sys.stdout.white("\n")
Traceback (most recent call last): File "/tmp/tmp7tr08p5t/tmp2bs8a3q6.py", line 3, in <module> H,W = map(int, raw_input().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s079763418
p02404
u834416077
1454155335
Python
Python
py
Runtime Error
0
0
199
while(1): H,W = map(int, raw_input().split()) if H==0 and W==0: break for i in range(H): if i == 0 or i == H-1: print "#"*w else: print "#" + "."*(W-2)" + "#" print ""
File "/tmp/tmp5vrhzl1y/tmp1731f_r9.py", line 7 print "#"*w ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s384564916
p02404
u834416077
1454155376
Python
Python
py
Runtime Error
0
0
199
while(1): H,W = map(int, raw_input().split()) if H==0 and W==0: break for i in range(H): if i == 0 or i == H-1: print "#"*W else: print "#" + "."*(W-2)" + "#" print ""
File "/tmp/tmpf9xm12gp/tmp31st21qz.py", line 7 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s033506647
p02404
u613805578
1454161945
Python
Python
py
Runtime Error
0
0
179
while 1: W, H = map(int, raw_input().split()) if W = H = 0: break for i in range(H): if i = 0 or i = H-1: print "#" else print "#" + "" * (W-2) + "H"
File "/tmp/tmpogb845yg/tmpe2ny52pn.py", line 3 if W = H = 0: ^ SyntaxError: invalid syntax
s050604397
p02404
u613805578
1454162023
Python
Python
py
Runtime Error
0
0
189
while 1: W, H = map(int, raw_input().split()) if W == 0 and H == 0: break for i in range(H): if i == 0 or i == H-1: print "#" else print "#" + "" * (W-2) + "H"
File "/tmp/tmpj_ofj_np/tmp0ijsnx8q.py", line 7 print "#" ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s313281702
p02404
u613805578
1454162033
Python
Python
py
Runtime Error
0
0
190
while 1: W, H = map(int, raw_input().split()) if W == 0 and H == 0: break for i in range(H): if i == 0 or i == H-1: print "#" else print "#" + " " * (W-2) + "H"
File "/tmp/tmppx8w1md3/tmpquetbcnr.py", line 7 print "#" ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s020099277
p02404
u613805578
1454162087
Python
Python
py
Runtime Error
0
0
194
while 1: W, H = map(int, raw_input().split()) if W == 0 and H == 0: break for i in range(H): if i == 0 or i == H-1: print "#" * W else print "#" + " " * (W-2) + "H"
File "/tmp/tmps7_luyn0/tmp77bzsqge.py", line 7 print "#" * W ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s176955201
p02404
u613805578
1454163465
Python
Python
py
Runtime Error
0
0
186
while 1: W, H = map(int, input().split()) if W == 0 and H == 0: break print ("#"*W) for i in range(1, H-1): print ("#" + ("." * (W-2)) + "#") print ("#"*W) print ("")
Traceback (most recent call last): File "/tmp/tmp804pxs3s/tmptwr4hl00.py", line 2, in <module> W, H = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s471239625
p02404
u613805578
1454163565
Python
Python
py
Runtime Error
0
0
186
while 1: H, W = map(int, input().split()) if W == 0 and H == 0: break print ("#"*W) for i in range(1, H-1): print ("#" + ("." * (W-2)) + "#") print ("#"*W) print ("")
Traceback (most recent call last): File "/tmp/tmpbf5je5jc/tmpazs4oaib.py", line 2, in <module> H, W = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s580572566
p02404
u613805578
1454163705
Python
Python
py
Runtime Error
0
0
186
while 1: H, W = map(int, input().split()) if W == 0 and H == 0: break print ("#"*W) for i in range(1, H-1): print ("#" + ("." * (W-2)) + "#") print ("#"*W) print ("")
Traceback (most recent call last): File "/tmp/tmpuf8z5uz8/tmp32kv5exy.py", line 2, in <module> H, W = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s619853031
p02404
u613805578
1454163805
Python
Python
py
Runtime Error
0
0
181
while 1: H, W = map(int, input().split()) if W == 0 and H == 0: break print "#"*W for i in range(1, H-1): print ("#" + ("." * (W-2)) + "#") print "#"* W print ""
File "/tmp/tmp1lobunlb/tmp14c6dlru.py", line 5 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s331087053
p02404
u630265299
1454169798
Python
Python
py
Runtime Error
0
0
239
while True: h, w = map(int, raw_input().split()) if (h == 0 and w == 0): break for i in range(0,h): for j in range(0,w): if i==0 or j==0 or i==h-1 or j==w-1: ?????? print ("#") else: print (".") print print
File "/tmp/tmpqu58tx9c/tmpj6jojqm0.py", line 8 ?????? print ("#") IndentationError: expected an indented block after 'if' statement on line 7
s819215560
p02404
u630265299
1454169839
Python
Python
py
Runtime Error
0
0
239
while True: h, w = map(int, raw_input().split()) if (h == 0 and w == 0): break for i in range(0,h): for j in range(0,w): if i==0 or j==0 or i==h-1 or j==w-1: ?????? print ("#") else: print (".") print print
File "/tmp/tmppy9pzt7e/tmp2ptv4wvq.py", line 8 ?????? print ("#") IndentationError: expected an indented block after 'if' statement on line 7
s965182262
p02404
u970436839
1454169874
Python
Python
py
Runtime Error
0
0
325
while True: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break for i in range(H): width = "#" if i == 0 or i == H - 1: for j in range(1,W): width += "#" print width else: for j in range(1,W-1): width += "." width += "#" print width pri...
File "/tmp/tmp_dd4dlbm/tmp4ex741hh.py", line 10 print width ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s105061293
p02404
u630265299
1454169933
Python
Python
py
Runtime Error
0
0
250
while True: h, w = map(int, raw_input().split()) if (h == 0 and w == 0): break for i in range(0,h): for j in range(0,w): if i==0 or j==0 or i==h-1 or j==w-1: ?????? print ("#") else: print (".") print("\n)
File "/tmp/tmpjzg5cxh_/tmp36sab5ry.py", line 8 ?????? print ("#") IndentationError: expected an indented block after 'if' statement on line 7
s785274950
p02404
u970436839
1454169981
Python
Python
py
Runtime Error
0
0
323
while True: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break for i in range(H): width = "#" if i == 0 or i == H - 1: for j in range(W-1): width += "#" print width else: for j in range(W-2): width += "." width += "#" print width print...
File "/tmp/tmppqr9x0du/tmpj2oheyw0.py", line 10 print width ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s005764736
p02404
u630265299
1454169984
Python
Python
py
Runtime Error
0
0
258
while True: h, w = map(int, raw_input().split()) if (h == 0 and w == 0): break for i in range(0,h): for j in range(0,w): if i == 0 or j == 0 or i == h-1 or j == w-1: ?????? print ("#") else: print (".") print("\n)
File "/tmp/tmpuz9jrvys/tmp3w_s4fuk.py", line 8 ?????? print ("#") IndentationError: expected an indented block after 'if' statement on line 7
s290366541
p02404
u630265299
1454170030
Python
Python
py
Runtime Error
0
0
256
while True: h, w = map(int, raw_input().split()) if (h == 0 and w == 0): break for i in range(0,h): for j in range(0,w): if i == 0 or j == 0 or i == h-1 or j == w-1: print ("#") else: print (".") print("\n)
File "/tmp/tmp6ffhqny3/tmpx5offu4e.py", line 11 print("\n) ^ SyntaxError: unterminated string literal (detected at line 11)
s718976168
p02404
u970436839
1454170149
Python
Python
py
Runtime Error
0
0
177
while True: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break print "#"*W for i in range(H-1): print "#" + "."*(W-2) + "#" print "#"*W print ""
File "/tmp/tmpobcq7hul/tmpo3rhpslb.py", line 5 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s656710284
p02404
u970436839
1454170185
Python
Python
py
Runtime Error
0
0
183
while True: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break print ("#"*W) for i in range(H-1): print ("#" + "."*(W-2) + "#") print ("#"*W) print ""
File "/tmp/tmpc6vudt83/tmpye4snjr0.py", line 9 print "" ^ IndentationError: unindent does not match any outer indentation level
s485198124
p02404
u970436839
1454170290
Python
Python
py
Runtime Error
0
0
222
while True: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break print "#"*W for i in range(H-1): if W > 2: print "#" + "."*(W-2) + "#" else: print "#"*W print "#"*W print ""
File "/tmp/tmpq7iyxnfe/tmpx994wur6.py", line 5 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s586221607
p02404
u630265299
1454170363
Python
Python
py
Runtime Error
0
0
13
bari ga ippai
File "/tmp/tmp6pxarc_n/tmpjwjiq7gn.py", line 1 bari ga ippai ^^ SyntaxError: invalid syntax
s024345548
p02404
u047737909
1454216201
Python
Python
py
Runtime Error
0
0
252
while 1: H, W = map(int, raw_input().split()) if (H == 0 and W == 0): break for i in range(H): if(i==0): print "#"*W elif(i==h-1): print "#"*W else: print "#"* print "."*(W-2) print "#"* print ""
File "/tmp/tmpkq5oknq2/tmpc3d6r7xy.py", line 8 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s261600888
p02404
u047737909
1454216245
Python
Python
py
Runtime Error
0
0
252
while 1: H, W = map(int, raw_input().split()) if (H == 0 and W == 0): break for i in range(H): if(i==0): print "#"*W elif(i==H-1): print "#"*W else: print "#"* print "."*(W-2) print "#"* print ""
File "/tmp/tmpg7coi7q2/tmpxfmxy7rf.py", line 8 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s433873619
p02404
u532962080
1454421452
Python
Python
py
Runtime Error
0
0
171
while True: H,W=map(int,raw_input().split()) if H==W==0: break elif H!=0 or W!=0: print (('#'*W + '\n')+('#' + '.'*(W-2) + '#' + '\n')*(H-2) + ('#'*W + '\n')
File "/tmp/tmpf0pksb5q/tmpiola9frs.py", line 6 print (('#'*W + '\n')+('#' + '.'*(W-2) + '#' + '\n')*(H-2) + ('#'*W + '\n') ^ SyntaxError: '(' was never closed
s975643181
p02404
u177295149
1454422830
Python
Python
py
Runtime Error
0
0
161
while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break for i in range(H): print "#" print "." * W-2 print "#" print""
File "/tmp/tmpgpp33nd3/tmpfwjy3o2b.py", line 6 print "#" ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s828140336
p02404
u177295149
1454423768
Python
Python
py
Runtime Error
0
0
211
while 1: H, W = map(int, raw_input().split()) if (H == 0 and W == 0): break print ('#' * W) for i in range(H-2): print ('#' + '.' * (W - 2) + '#' ) print ('#'* W) print" "
File "/tmp/tmp7ksx8cqw/tmpve_oq226.py", line 6 print ('#' * W) IndentationError: unexpected indent
s615542235
p02404
u177295149
1454423835
Python
Python
py
Runtime Error
0
0
213
while 1: H, W = map(int, raw_input().split()) if (H == 0 and W == 0): break print ('#' * W) for i in range(1,H-1): print ('#' + '.' * (W - 2) + '#' ) print ('#'* W) print" "
File "/tmp/tmpszd037u2/tmpdyf5b_7p.py", line 6 print ('#' * W) IndentationError: unexpected indent
s817980138
p02404
u177295149
1454423848
Python
Python
py
Runtime Error
0
0
217
while 1: H, W = map(int, raw_input().split()) if (H == 0 and W == 0): break print ('#' * W) for i in range(1,H-1): print ('#' + '.' * (W - 2) + '#' ) print ('#'* W) print" "
File "/tmp/tmpcoeohvyn/tmpss30feny.py", line 6 print ('#' * W) IndentationError: unexpected indent
s534327613
p02404
u648595404
1455200612
Python
Python
py
Runtime Error
0
0
173
H = raw_input().split() W = raw_input().split() for height in range(H): if height == H-1 or height == 0: print "#"*W else: print "#"+ "."*(W-2)+"#\n"
File "/tmp/tmp5qhqcif3/tmp4v8snc74.py", line 5 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s020820049
p02404
u648595404
1455200683
Python
Python
py
Runtime Error
0
0
151
H,W = raw_input().split() for height in range(H): if height == H-1 or height == 0: print "#"*W else: print "#"+ "."*(W-2)+"#\n"
File "/tmp/tmp26dqd3tw/tmp5ben28ag.py", line 4 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s184737054
p02404
u648595404
1455200951
Python
Python
py
Runtime Error
0
0
150
H,W = raw_input().spllit() for height in range(H): if height == H-1 or height == 0: print "#"*W else: print "#"+ "."*(W-2)+"#"
File "/tmp/tmpfm3ozxo7/tmpjo19k77f.py", line 4 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s965289146
p02404
u648595404
1455201290
Python
Python
py
Runtime Error
0
0
151
[h, w] =raw_input().split() for height in range(h): if height == h-1 or height == 0: print "#"*w else: print "#"+ "."*(w-2)+"#"
File "/tmp/tmpnuyt_mwe/tmpmt_g6e4o.py", line 4 print "#"*w ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s503813844
p02404
u648595404
1455201573
Python
Python
py
Runtime Error
0
0
192
[h, w] =map(int,raw_input().split()) if h == w == 0: break for height in range(h): if height == h-1 or height == 0: print "#"*w else: print "#"+ "."*(w-2)+"#"
File "/tmp/tmpss8zfz66/tmpqq4_ask5.py", line 8 print "#"*w ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s209625754
p02404
u648595404
1455292862
Python
Python
py
Runtime Error
0
0
228
while true: H,W = [int(if(i) for i input().split("")] if H == W == 0: break print ("#"*(W) for h in range(W-2): print ("."*(W-2).join("#","#")) print ("#"*(W)) print ()
File "/tmp/tmppfcpk6zc/tmpqswsdkeb.py", line 2 H,W = [int(if(i) for i input().split("")] ^ SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
s231385764
p02404
u648595404
1455292872
Python
Python3
py
Runtime Error
0
0
228
while true: H,W = [int(if(i) for i input().split("")] if H == W == 0: break print ("#"*(W) for h in range(W-2): print ("."*(W-2).join("#","#")) print ("#"*(W)) print ()
File "/tmp/tmpyq_keqwl/tmpdno1wjak.py", line 2 H,W = [int(if(i) for i input().split("")] ^ SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
s114448639
p02404
u648595404
1455292908
Python
Python
py
Runtime Error
0
0
225
while true: H,W = [int(i) for i input().split("")] if H == W == 0: break print ("#"*(W) for h in range(W-2): print ("."*(W-2).join("#","#")) print ("#"*(W)) print ()
File "/tmp/tmpl0wftujn/tmpozvh9fdj.py", line 2 H,W = [int(i) for i input().split("")] ^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s511603692
p02404
u648595404
1455292932
Python
Python
py
Runtime Error
0
0
228
while true: H,W = [int(i) for i in input().split("")] if H == W == 0: break print ("#"*(W) for h in range(W-2): print ("."*(W-2).join("#","#")) print ("#"*(W)) print ()
File "/tmp/tmpzza32s14/tmpp96c1k9v.py", line 5 print ("#"*(W) ^ SyntaxError: '(' was never closed
s850154158
p02404
u648595404
1455292996
Python
Python
py
Runtime Error
0
0
204
while True: H,W=[int(i) for i in input().split(" ")] if H==W==0: break print("#"*(W)) for h in range(H-2): print(("."*(W-2)).join(("#","#"))) print("#"*(W)) print()
Traceback (most recent call last): File "/tmp/tmp_2_o0o6g/tmpwfqjw1r8.py", line 2, in <module> H,W=[int(i) for i in input().split(" ")] ^^^^^^^ EOFError: EOF when reading a line
s879547732
p02404
u648595404
1455294545
Python
Python
py
Runtime Error
0
0
217
H,W = map(int(x) for x in raw_input().split("")) for height in range(H): if H == W == 0: break elif height == H-1 or height == 0: print "#"*W else: print "#"+ "."*(W-2)+"#" print ""
File "/tmp/tmpqh6a87p_/tmp36_y0pgd.py", line 6 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s888514525
p02404
u648595404
1455294575
Python
Python
py
Runtime Error
0
0
219
H,W = tuple(int(x) for x in raw_input().split("")) for height in range(H): if H == W == 0: break elif height == H-1 or height == 0: print "#"*W else: print "#"+ "."*(W-2)+"#" print ""
File "/tmp/tmprwlir2qy/tmp8bwrs1w0.py", line 6 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s567436492
p02404
u130979865
1459557741
Python
Python
py
Runtime Error
0
0
325
# -*- coding: utf-8 -*- while True: line = map(str, raw_input().split()) H = int(line[0]) W = int(line[1]) if H+W: for i in range(H): if i == 0 or i == (H-1): print "#"*W elif: print "#" + "."*(W-2) +"#" print "" else: ...
File "/tmp/tmpys41puh4/tmp_l6biuxo.py", line 10 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s375042104
p02404
u104931506
1464523888
Python
Python3
py
Runtime Error
0
0
155
while True: H, W = map(int, input().split()) if H == W == 0: break print('#' * W + '\n' + trye('#' + '.' * (W - 2) + '#' + '\n') * (H - 2) + '#' * W)
Traceback (most recent call last): File "/tmp/tmpdahjh_q5/tmp9coh_lob.py", line 2, in <module> H, W = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s845141075
p02404
u011261384
1469524039
Python
Python
py
Runtime Error
0
0
208
break for i in range(0,h): if i == 0 or i == h-1: print ("#"*w) else: print ("#"+"."*(w-2)+"#") print
File "/tmp/tmpdwjwrnnc/tmpc9tykznv.py", line 1 break IndentationError: unexpected indent
s608678853
p02404
u085472528
1469602788
Python
Python3
py
Runtime Error
0
0
226
while True: H, W =[int(i) for i in input().split ] if H == W == 0: break for h in range(H): for w in range(W): print('*', end='') else: print('+', end='') print()
File "/tmp/tmpc33blrqd/tmplt_ayb2w.py", line 6 for h in range(H): ^ IndentationError: unindent does not match any outer indentation level