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
s905228448
p02405
u175224634
1551596618
Python
Python3
py
Runtime Error
0
0
468
while True: H,W = map(int,input().split()) if H==W==0: break; for i in range(0,H): if i % 2 == 1: for j in range(0,W): if j % 2 == 1: print("#") if j % 2 == 0: print(".") if i % 2 ==0: for i in ...
File "/tmp/tmpedn72ppi/tmpd02y_w9x.py", line 12 if i % 2 ==0: ^ IndentationError: unindent does not match any outer indentation level
s917281827
p02405
u175224634
1551596692
Python
Python3
py
Runtime Error
0
0
468
while True: H,W = map(int,input().split()) if H==W==0: break; for i in range(0,H): if i % 2 == 1: for j in range(0,W): if j % 2 == 1: print("#") if j % 2 == 0: print(".") if i % 2 ==0: for j in ...
File "/tmp/tmp75u1qf0c/tmpcgkl12do.py", line 12 if i % 2 ==0: ^ IndentationError: unindent does not match any outer indentation level
s826450225
p02405
u252054808
1556177525
Python
Python3
py
Runtime Error
0
0
243
while(True): h, w = map(int, input().split()) if(h == 0 and w == 0): break for i in range(h): s = '' for j in range(w): s += '#' if ((i + j) % 2 == 0) else s += '.' print(s) print()
File "/tmp/tmp3xow13ey/tmp_9fvw1h5.py", line 8 s += '#' if ((i + j) % 2 == 0) else s += '.' ^^ SyntaxError: invalid syntax
s764388023
p02405
u805464373
1556296878
Python
Python3
py
Runtime Error
0
0
1649
#include<bits/stdc++.h> using namespace std; int main(){ ...
File "/tmp/tmpqvr2mjee/tmpz14u0ylw.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s166049158
p02405
u805716376
1556702837
Python
Python3
py
Runtime Error
0
0
331
a, b = map(int,input().split()) cnt = 1 while a != 0: if cnt//2 = 1: if b//2 = 0: print('#.'*(b//2)) else: print('#.'(b//2)+'#') else: if b//2 = 0: print('.#'*(b//2)) else: print('.#'(b//2)+'.') print() a, b = map(int,input(...
File "/tmp/tmpnxiyfjdn/tmpq2cq_cd9.py", line 4 if cnt//2 = 1: ^^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s148874120
p02405
u312033355
1558931859
Python
Python3
py
Runtime Error
0
0
270
while True: H,W = map(int,input().split()) if H == 0 and W == 0: break for i in range(H): for k in range(W): if (i+k)%2 == 0: print("#",end = "") else: print(".",end = "") print()
File "/tmp/tmpqhr7cx8l/tmprht3alwy.py", line 3 if H == 0 and W == 0: IndentationError: unexpected indent
s668856997
p02405
u120055135
1558936682
Python
Python3
py
Runtime Error
0
0
214
while True: H,W = map(int, input().split()) if H == 0 and W == 0: break if i in range(round(H/2)): print(("#"+".")*round(W/2)) if i in range(int(H/2)): print(("."+"#")*round(W/2))
Traceback (most recent call last): File "/tmp/tmp9a66lh1n/tmp37712kht.py", line 2, in <module> H,W = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s937599659
p02405
u120055135
1558936767
Python
Python3
py
Runtime Error
0
0
206
while True: H,W = map(int, input().split()) if H == 0 and W == 0: break if i in range(round(H/2)): print(("#"+".")*round(W/2)) elif i in range(int(H/2)): print(("."+"#")*round(W/2))
Traceback (most recent call last): File "/tmp/tmpz2khlhh5/tmp2pvyhc_v.py", line 2, in <module> H,W = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s901687731
p02405
u629874472
1559042228
Python
Python3
py
Runtime Error
0
0
404
while True: h,w = map(int,input().split()) for i in range(h): if i%2 ==0: for j in range(w): if j%2 ==0: print('#') else: print('.') else: for j in range(w): if j%2 ==0: ...
Traceback (most recent call last): File "/tmp/tmpcs_pszgc/tmppbx5ph7r.py", line 2, in <module> h,w = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s178899316
p02405
u015712946
1559526578
Python
Python3
py
Runtime Error
0
0
247
def chess(h,w): if (h+w) % 2 == 0: return '#' return '.' 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): print(chess(I,j)', end='') print() print()
File "/tmp/tmpjb0f5puu/tmpptytv9l2.py", line 12 print(chess(I,j)', end='') ^ SyntaxError: unterminated string literal (detected at line 12)
s258041002
p02405
u015712946
1559526625
Python
Python3
py
Runtime Error
0
0
246
def chess(h,w): if (h+w) % 2 == 0: return '#' return '.' 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): print(chess(I,j), end='') print() print()
Traceback (most recent call last): File "/tmp/tmpfxlu4vdl/tmpkbyi1fq5.py", line 7, in <module> H, W = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s985486841
p02405
u120055135
1559536593
Python
Python3
py
Runtime Error
20
5596
252
while True: (H,W) = [int(i) for i in input().split()] if H==W==0: break for i in range(H): for j in range(W): if (i+j)%2==0: print('#',end="") else: p0rint('.',end="") print('') print('')
Traceback (most recent call last): File "/tmp/tmpdyd5ggkl/tmpu2jy1z7w.py", line 2, in <module> (H,W) = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s678127980
p02405
u442346200
1422847078
Python
Python3
py
Runtime Error
0
0
251
while True: (H, W) = [int(x) for x in input().split()] if H == H == 0: break for hc in range(H): for wc int range(W): if (hc + wc) % 2 == 0: print('#', end ='') else: print('.', end ='') print() print()
File "/tmp/tmpivd5csur/tmp920eqsor.py", line 7 for wc int range(W): ^^^ SyntaxError: invalid syntax
s926102311
p02405
u745846646
1422847097
Python
Python3
py
Runtime Error
0
0
296
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 + wc) % 2 == 0: print('#', end='') else: print('#', end='') print() print()
File "/tmp/tmpllhu8_65/tmpa9cidh7c.py", line 2 (H, W) [int(x) for x in input().split()] ^^^ SyntaxError: invalid syntax
s289704499
p02405
u636711749
1422847108
Python
Python3
py
Runtime Error
0
0
338
while True: (H, W) = [int(x) for x in input().split()] if H == Q == 0: break for hc in range(H): for wc in range(W): if (hc + wc) % 2 == 0: print('#', end='') else: print('.',end='') pr...
Traceback (most recent call last): File "/tmp/tmp_3nr_di4/tmp4ems3b5h.py", line 2, in <module> (H, W) = [int(x) for x in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s562306317
p02405
u442346200
1424048542
Python
Python3
py
Runtime Error
0
0
248
while True: (H, W) = [int(i) for i in input().split()] if H == W == 0; break for hc in range(H): for wc in range(W): if (hc + wc) % 2 == 0: print('#', end='') else: print('.', end='') print() print()
File "/tmp/tmpcin56kbw/tmpienw9upe.py", line 3 if H == W == 0; ^ SyntaxError: invalid syntax
s581593403
p02405
u745846646
1424048552
Python
Python3
py
Runtime Error
0
0
298
while true: (H,W) = [int(i) i in input().split()] if H == W ==0: break for hc in range(H): for wc in range(W): if (hc + wc) % 2 == 0: print('#', end=' ') else: print('.', end=' ') print() print()
File "/tmp/tmpleeu6uej/tmp2divrhlh.py", line 2 (H,W) = [int(i) i in input().split()] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s603317950
p02405
u527848444
1424048597
Python
Python3
py
Runtime Error
0
0
313
while True: (H,W) = [int(i) for i in inpput().split()] if H == W == 0: break for hc in range(H): for wc in range(W): if (hc + wc) % 2 == 0: print('#', end = ' ') else: print('.'.end=' ') print() print()
File "/tmp/tmponjagbrf/tmpvzfv1fba.py", line 11 print('.'.end=' ') ^^^^^^^^ SyntaxError: expression cannot contain assignment, perhaps you meant "=="?
s520569306
p02405
u376883550
1424091683
Python
Python
py
Runtime Error
0
0
229
H, W = map(int, raw_input().split()) while H | W != 0: for i in range(H): s = '' for j in range(W): s += j % 3 == 0 ? '#' : '.' print s print '' H, W = map(int, raw_input().split())
File "/tmp/tmpxk0p794h/tmp1b0rvw16.py", line 6 s += j % 3 == 0 ? '#' : '.' ^ SyntaxError: invalid syntax
s738514251
p02405
u669360983
1430207906
Python
Python
py
Runtime Error
0
0
350
import sys while True: y,x=map(int, input().split()) if x==y==0: break for i in range(1,y+1): for j in range(1,x+1): if(i%2==1): if(j%2==1): sys.stdout.write('#') elif(j%2==0): sys.stdout.write('.') if(i%2==0): if(j%2==0): sys.stdout.write('#') elif(j%2==1): sys.stdout.wri...
Traceback (most recent call last): File "/tmp/tmp9ct2l642/tmp9peu4a8i.py", line 3, in <module> y,x=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s241557987
p02405
u604774382
1430654269
Python
Python3
py
Runtime Error
0
0
373
import sys while True: h, w = [ int( val ) for val in sys.stdin.readline().split( " " ) ] if 0 ==h and 0 == w: break pa = [ "#", "." ] d = 0 ouput = [] for i in range( h ): d = i&1 for j in range( w ): ouput.append( pa[d] ) d = not d o...
Traceback (most recent call last): File "/tmp/tmp9qpc8u7k/tmpbcevzc4j.py", line 4, in <module> h, w = [ int( val ) for val in sys.stdin.readline().split( " " ) ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmp9qpc8u7k/tmpbcevzc4j.py", line 4, in <listcomp> h, w = [ int(...
s682398601
p02405
u172616925
1435568156
Python
Python
py
Runtime Error
0
0
237
while 1: h,w = map(int, raw_input().split()) if h==w==0 break for i in range(0,h/2): print ("#." * (w/2) + "#" * (w%2) + "\n") print (".#" * (w/2) + "." * (w%2) + "\n") if h/2 == 1: print ("#." * (w/2) + "#" * (w%2) + "\n")
File "/tmp/tmp8n65ip9u/tmpgt7_1236.py", line 2 h,w = map(int, raw_input().split()) ^ IndentationError: expected an indented block after 'while' statement on line 1
s122921326
p02405
u172616925
1435568327
Python
Python
py
Runtime Error
0
0
239
while 1: h,w = map(int, raw_input().split()) if h==w==0 break for i in range(0,h/2): print ("#." * (w/2) + "#" * (w%2) + "\n") print (".#" * (w/2) + "." * (w%2) + "\n") if h % 2 == 1: print ("#." * (w/2) + "#" * (w%2) + "\n")
File "/tmp/tmpnug9ztx7/tmp6p7l4lnh.py", line 2 h,w = map(int, raw_input().split()) ^ IndentationError: expected an indented block after 'while' statement on line 1
s859900586
p02405
u172616925
1435568687
Python
Python
py
Runtime Error
0
0
230
while 1: h,w = map(int, raw_input().split()) if h==w==0 break for i in range(0,h/2): print ("#." * (w/2) + "#" * (w%2)) print (".#" * (w/2) + "." * (w%2)) if h % 2 == 1: print ("#." * (w/2) + "#" * (w%2)) print "\n"
File "/tmp/tmpf8u81mld/tmp4mxgpqf8.py", line 2 h,w = map(int, raw_input().split()) ^ IndentationError: expected an indented block after 'while' statement on line 1
s660233557
p02405
u172616925
1435568717
Python
Python
py
Runtime Error
0
0
248
while 1: h,w = map(int, raw_input().split()) if h==w==0 break for i in range(0,h/2): print ("#." * (w/2) + "#" * (w%2)) print (".#" * (w/2) + "." * (w%2)) if h % 2 == 1: print ("#." * (w/2) + "#" * (w%2)) print "\n"
File "/tmp/tmpdx9afme7/tmpavdis0lb.py", line 3 if h==w==0 IndentationError: unexpected indent
s103369890
p02405
u172616925
1435568741
Python
Python
py
Runtime Error
0
0
249
while 1: h,w = map(int, raw_input().split()) if h==w==0: break for i in range(0,h/2): print ("#." * (w/2) + "#" * (w%2)) print (".#" * (w/2) + "." * (w%2)) if h % 2 == 1: print ("#." * (w/2) + "#" * (w%2)) print "\n"
File "/tmp/tmp9p5ubf2z/tmpvp_z6wxm.py", line 3 if h==w==0: IndentationError: unexpected indent
s999285920
p02405
u997158994
1441019093
Python
Python
py
Runtime Error
0
0
277
import sys write=sys.stdout.write while True: h,w=map(int,raw_input().split()) if h==w==0: break for i in xrange(h): l=[('#' if i%2==j%2==0 else ('.' if (i%2==1 and j%2==0) or (i%2==0 and j%2==1) else '#') for j in xrange(w)] for i in l: write(i) print "" print ""
File "/tmp/tmpq33ikp10/tmpp72xc6yr.py", line 7 l=[('#' if i%2==j%2==0 else ('.' if (i%2==1 and j%2==0) or (i%2==0 and j%2==1) else '#') for j in xrange(w)] ^ SyntaxError: closing parenthesis ']' does not...
s637956234
p02405
u180914582
1443516518
Python
Python3
py
Runtime Error
0
0
201
while True: ????????h, w = map(int, input().strip().split()) ????????if h == w == 0: break ????????for y in range(h): ????????????????print(''.join('#.'[(x + y) % 2] for x in range(w))) ????????print()
File "/tmp/tmptro2j2i1/tmp8bxglcku.py", line 2 ????????h, w = map(int, input().strip().split()) ^ IndentationError: expected an indented block after 'while' statement on line 1
s450435996
p02405
u775586391
1447816588
Python
Python3
py
Runtime Error
0
0
341
l = [] while True: h,w = map(int,input().split()) if (h,w) == (0,0): break else: l.append([h,w]) for i in l: r1 = '' r2 = '' for jin range(i[1]//2): r1 += '#.' r2 += '.#' if i[1]%2 == 1: r1 += '#' r2 += '.' for m in range(i[0]//2): print(r1) print(r2) if i[0]%2 == 1: ...
File "/tmp/tmpjy6s06bm/tmpzofiz3nk.py", line 11 for jin range(i[1]//2): ^^^^^ SyntaxError: invalid syntax
s912263788
p02405
u294593214
1452786071
Python
Python
py
Runtime Error
0
0
262
?import sys while True: h, w = map(int, sys.stdin.readline().split(' ')) if h == 0 and w == 0: break for i in range(h): for j in range(w): sys.stdout.write('#' if (i+j) % 2 == 0 else '.') print '' print '' ??
File "/tmp/tmpwier1vjy/tmpk0kd9uak.py", line 1 ?import sys ^ SyntaxError: invalid syntax
s185699044
p02405
u803327846
1453882374
Python
Python
py
Runtime Error
0
0
205
check = [#.] * 300 while 1: h, w = map(int, raw_input().split()) if h == w == 0: break for i in range(h): if h % 2 == 0: print check[:w] else: print check[1:w+1] print ""
File "/tmp/tmpwruqa6tx/tmpub12d6ke.py", line 1 check = [#.] * 300 ^ SyntaxError: '[' was never closed
s455361605
p02405
u803327846
1453882637
Python
Python
py
Runtime Error
0
0
293
import sys while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break else: for h in range(H): for w in range(W): if (h + w) % 2 == 0: sys.stdout.write("#") else: sys.stdout.write(".") print "" print ""
File "/tmp/tmpk4j1h8i3/tmpogceed6z.py", line 13 print "" ^ IndentationError: unindent does not match any outer indentation level
s743958886
p02405
u724923896
1453969191
Python
Python
py
Runtime Error
0
0
408
n = "#." m = ".#" while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break if W%2 ==0: for i in range(0, H, 2): M[i] = n*(w/2) for i in range(1, H, 2): M[i] = m*(W/2) elif W%2 == 1: for i in range(0, H, 2): M[i] = n*(w/2)+n(0) for i...
File "/tmp/tmpdz532n_i/tmpi6a8_990.py", line 21 print M[i] ^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s693852987
p02405
u724923896
1453969355
Python
Python
py
Runtime Error
0
0
431
n = "#." m = ".#" while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break if W%2 ==0: for i in range(0, H, 2): M[i] = n*(w/2) for i in range(1, H, 2): M[i] = m*(W/2) elif W%2 == 1: for i in range(0, H, 2): M[i] = n*(w/2)+n(0) for...
File "/tmp/tmpjhqcftk_/tmp38t4_8_j.py", line 21 print "%c" %(M[i]) ^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s314103901
p02405
u724923896
1453969469
Python
Python
py
Runtime Error
0
0
423
while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break if W%2 ==0: for i in range(0, H, 2): M[i] = "#."*(w/2) for i in range(1, H, 2): M[i] = ".#"*(W/2) elif W%2 == 1: for i in range(0, H, 2): M[i] = "#."*(w/2)+"#" for i in range...
File "/tmp/tmpfl1csz7f/tmpax6anc28.py", line 18 print "%c" %(M[i]) ^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s140366160
p02405
u724923896
1453969745
Python
Python
py
Runtime Error
0
0
430
while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break if W%2 ==0: for i in range(0, H, 2): M[i] = "#."*(w/2) for i in range(1, H, 2): M[i] = ".#"*(W/2) elif W%2 == 1: for i in range(0, H, 2): M[i] = "#."*(w/2)+"#" for i in rang...
File "/tmp/tmprbdm7qql/tmpjgdbjpdl.py", line 18 print "%c" %(str(M[i])) ^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s939072458
p02405
u724923896
1453970215
Python
Python
py
Runtime Error
0
0
375
while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break for i in range(H): if H%2 ==0: if W%2 == 1: print ".#"*(w/2)+"." elif W%2 == 0: print ".#"*(W/2) elif H%2 == 1: if W%2 == 1: print "#."*(w/2)+"#" ...
File "/tmp/tmp3_wl7vrc/tmpexduh4w0.py", line 9 print ".#"*(w/2)+"." ^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s422770931
p02405
u724923896
1453970367
Python
Python
py
Runtime Error
0
0
377
while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break for i in range(H): if i%2 ==1: if W%2 == 1: print ".#"*(w/2)+"." elif W%2 == 0: print ".#"*(W/2) elif i%2 == 0: if W%2 == 1: print "#."*(w/2)+"#" ...
File "/tmp/tmpwf4i4azp/tmps75morqt.py", line 9 print ".#"*(w/2)+"." ^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s921078209
p02405
u724923896
1453970559
Python
Python
py
Runtime Error
0
0
381
while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break for i in range(H): if i%2 ==1: if W%2 == 1: print ".#"*(w/2)+"." elif W%2 == 0: print ".#"*(W/2) elif i%2 == 0: if W%2 == 1: print "#."*(w/2)+"#" ...
File "/tmp/tmp_h76it9c/tmpx_pth3zr.py", line 9 print ".#"*(w/2)+"." ^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s635449774
p02405
u724923896
1453971394
Python
Python
py
Runtime Error
0
0
384
while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break for i in range(H): if i%2 == 0: if W%2 == 1: print "#."*(w/2)+"#" elif W%2 == 0: print "#."*(W/2) elif i%2 == 1: if W%2 == 1: print ".#"*(w/2)+"." ...
File "/tmp/tmp1v74k2x0/tmp1_cbv07h.py", line 9 print "#."*(w/2)+"#" ^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s618565190
p02405
u724923896
1453971803
Python
Python
py
Runtime Error
0
0
384
while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break for i in range(H): if i%2 == 0: if W%2 == 1: print "#."*(w/2)+"#" elif W%2 == 0: print "#."*(W/2) elif i%2 == 1: if W%2 == 1: print ".#"*(w/2)+"." ...
File "/tmp/tmppkdahg73/tmp4zrdzl4j.py", line 9 print "#."*(w/2)+"#" ^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s398793588
p02405
u724923896
1453971975
Python
Python
py
Runtime Error
0
0
385
while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break for i in range(H): if i%2 == 0: if W%2 == 0: print "#."*(W/2) wlif W%2 == 1: print "#."*(w/2)+"#" elif i%2 == 1: if W%2 == 0: print ".#"*(W/2) ...
File "/tmp/tmpkrjamdet/tmp0hmkq_f8.py", line 9 print "#."*(W/2) ^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s625768241
p02405
u724923896
1453972526
Python
Python
py
Runtime Error
0
0
386
while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break for i in range(H): if i%2 == 0: if W%2 == 0: print "#."*(W/2) elif W%2 == 1: print "#."*(w/2)+"#" elif i%2 == 1: if W%2 == 0: print ".#"*(W/2) ...
File "/tmp/tmp44hkjeoe/tmpcbs3dnal.py", line 9 print "#."*(W/2) ^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s206559668
p02405
u724923896
1453972910
Python
Python
py
Runtime Error
0
0
360
while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break for i in range(H): if i%2 == 0: if W%2 == 0: print "#."*(W/2) else: print "#."*(w/2)+"#" else: if W%2 == 0: print ".#"*(W/2) else: ...
File "/tmp/tmpmw8ldxmm/tmp14asz4py.py", line 9 print "#."*(W/2) ^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s255877924
p02405
u724923896
1453973075
Python
Python
py
Runtime Error
0
0
364
while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break for i in range(0, H): if i%2 == 0: if W%2 == 0: print "#."*(W/2) else: print "#."*(w/2)+"#" else: if W%2 == 0: print ".#"*(W/2) else: ...
File "/tmp/tmp9__riao5/tmp0kj8c81n.py", line 9 print "#."*(W/2) ^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s415330129
p02405
u613805578
1454165685
Python
Python
py
Runtime Error
0
0
299
while 1: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break else: for i in range(H): ans = "" for j in ange(W): if (i+j)%2 == 0: ans += "#" else: ans += "." print ans print ("")
File "/tmp/tmpzi58tjya/tmppj6p2dc5.py", line 13 print ans ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s022281659
p02405
u970436839
1454170859
Python
Python
py
Runtime Error
0
0
318
while True: H, W = map(int, raw_input().split()) if H == 0 and W == 0: break for i in range(H): if H /2 == 0: if W/2 == 0: print "#."*(W/2) else: print "#."*(W/2) + "#" else: if W/2 == 0: print ".""*(W/2) else: print ".#"*(W/2) + "." print ""
File "/tmp/tmp2tjtupkp/tmpd7zd91vu.py", line 13 print ".""*(W/2) ^ SyntaxError: unterminated string literal (detected at line 13)
s764874386
p02405
u967035362
1454420141
Python
Python
py
Runtime Error
0
0
231
def chess(h,w): o = "" for i in range(h): for j in range(w): if (i+j)%2: o+="." else: o+="#" o+="\n while 1: h,w=map(int,raw_input().split()) if h==w==0:break chess(h,w)
File "/tmp/tmpo6ji6mg1/tmpb3fe9dk1.py", line 7 o+="\n ^ SyntaxError: unterminated string literal (detected at line 7)
s490538177
p02405
u967035362
1454420187
Python
Python
py
Runtime Error
0
0
229
def chess(h,w): o = "" for i in range(h): for j in range(w): if (i+j)%2: o+="." else: o+="#" o+="\n while 1: h,w=map(int,raw_input().split()) if h==w==0:break chess(h,
File "/tmp/tmpz9_d8e8c/tmp0sjgb1sj.py", line 7 o+="\n ^ SyntaxError: unterminated string literal (detected at line 7)
s475235207
p02405
u233232390
1454421235
Python
Python
py
Runtime Error
0
0
284
while 1: H, W = map(int,raw_input().split()) if H + W == 0: ???break for h in range(H): if h % 2 == 0: if W % 2 == 0: print ('#.'*(W//2)) else: print ('#.'*(W//2)+'#') elif: W % 2 == 0: print ('.#'*(W//2)) else: print ('.#'*(W//2)+'.') print ''
File "/tmp/tmp10a9x9tg/tmpd4i67b3s.py", line 4 ???break IndentationError: expected an indented block after 'if' statement on line 3
s297067630
p02405
u233232390
1454421252
Python
Python
py
Runtime Error
0
0
292
while 1: H, W = map(int,raw_input().split()) if H + W == 0: ???break for h in range(H): if h % 2 == 0: if W % 2 == 0: print ('#.'*(W//2)) else: print ('#.'*(W//2)+'#') else: if: W % 2 == 0: print ('.#'*(W//2)) else: print ('.#'*(W//2)+'.') print ''
File "/tmp/tmpye4db9py/tmp163o7l92.py", line 4 ???break IndentationError: expected an indented block after 'if' statement on line 3
s908866461
p02405
u233232390
1454421287
Python
Python
py
Runtime Error
0
0
279
while 1: H, W = map(int,raw_input().split()) if H + W == 0: ???break for h in range(H): if h % 2 == 0: if W % 2 == 0: print ('#.'*(W//2)) else: print ('#.'*(W//2)+'#') else: if: W % 2 == 0: print ('.#'*(W//2)) else: print ('.#'*(W//2)+'.') print ''
File "/tmp/tmpjpc7qye6/tmpuvnym3pk.py", line 4 ???break IndentationError: expected an indented block after 'if' statement on line 3
s995868813
p02405
u233232390
1454421315
Python
Python
py
Runtime Error
0
0
280
while 1: H, W = map(int,raw_input().split()) if H + W == 0: ???break for h in range(H): if h % 2 == 0: if W % 2 == 0: print ('#.'*(W//2)) else: print ('#.'*(W//2)+'#') else: if: W % 2 == 0: print ('.#'*(W//2)) else: print ('.#'*(W//2)+'.') print ''
File "/tmp/tmpdw9wpgm7/tmpwbcbla49.py", line 4 ???break IndentationError: expected an indented block after 'if' statement on line 3
s652775140
p02405
u233232390
1454421356
Python
Python
py
Runtime Error
0
0
284
while 1: H, W = map(int,raw_input().split()) if H + W == 0: ???break for h in range(H): if h % 2 == 0: if W % 2 == 0: print ('#.'*(W//2)) else: print ('#.'*(W//2)+'#') else: if: W % 2 == 0: print ('.#'*(W//2)) else: print ('.#'*(W//2)+'.') print ''
File "/tmp/tmpj8uoapx3/tmpgvsez_21.py", line 4 ???break IndentationError: expected an indented block after 'if' statement on line 3
s845995655
p02405
u233232390
1454421410
Python
Python
py
Runtime Error
0
0
283
while 1: H, W = map(int,raw_input().split()) if H + W == 0: ???break for h in range(H): if h % 2 == 0: if W % 2 == 0: print ('#.'*(W//2)) else: print ('#.'*(W//2)+'#') else: if W % 2 == 0: print ('.#'*(W//2)) else: print ('.#'*(W//2)+'.') print ''
File "/tmp/tmppk289nqn/tmpxxci9uk5.py", line 4 ???break IndentationError: expected an indented block after 'if' statement on line 3
s719615245
p02405
u233232390
1454421458
Python
Python
py
Runtime Error
0
0
281
while 1: H, W = map(int,raw_input().split()) if H + W == 0: break for h in range(H): if h % 2 == 0: if W % 2 == 0: print ('#.'*(W//2)) else: print ('#.'*(W//2)+'#') else: if W % 2 == 0: print ('.#'*(W//2)) else: print ('.#'*(W//2)+'.') print ''
File "/tmp/tmpdcap_69d/tmpgwida9oz.py", line 4 break ^ IndentationError: expected an indented block after 'if' statement on line 3
s188721805
p02405
u532962080
1454423362
Python
Python
py
Runtime Error
0
0
383
while 1: H,W=map(int,raw_input().split()) if H==W==0: break elif H!=0 or W!=0: for i in range(0,H): if i%2 == 0: if W%2 == 1: print '#.'*(W/2)+'#' elif W%2 == 0: print '#.'*(W/2) else: if W%2 == 1: print '.#'*(W/2)+'.' ...
File "/tmp/tmpwz28uilr/tmpadk3bvk9.py", line 9 print '#.'*(W/2)+'#' ^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s679085020
p02405
u177295149
1454424381
Python
Python
py
Runtime Error
0
0
309
while 1: H,W = map(raw_input().split()) if H == 0 and W == 0: break for i in range(H): if i%2 == 0: if W%2 == 0: print "#."*(W/2) else: print "#."*(W/2) + "#" else: if W%2 == 0: print ".#"*(W/2) else: print ".#"*(W/2) + "." print ""
File "/tmp/tmp2zhfjnau/tmpkcojowrw.py", line 9 print "#."*(W/2) ^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s491972372
p02405
u279955105
1454774244
Python
Python3
py
Runtime Error
0
0
283
while True: H,W = list(map(int, input().split())) if (H == 0 and W == 0): break else: for n in range(H): s = "" for m in range(W): if ((n % 2 == 1) and (m % 2 == 0)) or5 6 ((n % 2 == 0) and (m % 2 == 1)): s += "." else: s += "#" print(s) print("")
File "/tmp/tmpde7f93_2/tmpqidkig7m.py", line 9 if ((n % 2 == 1) and (m % 2 == 0)) or5 6 ((n % 2 == 0) and (m % 2 == 1)): ^^^ SyntaxError: invalid syntax
s748347358
p02405
u648595404
1455294227
Python
Python
py
Runtime Error
0
0
142
for height in range(H): if height == H-1 or height == 0: print "#"*W else: print "#"+ "."*(W-2)+"#\n" print ""
File "/tmp/tmpv1lddqty/tmp9c4t2wcn.py", line 3 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s728931562
p02405
u648595404
1455294273
Python
Python
py
Runtime Error
0
0
178
for height in range(H): if H == W == 0: break elif height == H-1 or height == 0: print "#"*W else: print "#"+ "."*(W-2)+"#\n" print ""
File "/tmp/tmp8v4m_kgp/tmpwfkongjt.py", line 5 print "#"*W ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s726386597
p02405
u011261384
1469553425
Python
Python
py
Runtime Error
0
0
545
while 1: H,W = map(int, raw_input().split()) if H == W == 0: break for i in range(H): if i % 2 == 0: if W % 2 == 0: print "#." * (W / 2) else: print no ...
File "/tmp/tmp75wjzrl0/tmpgww5_6a_.py", line 8 print "#." * (W / 2) ^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s730278110
p02405
u011261384
1469553722
Python
Python
py
Runtime Error
0
0
553
while 1: H,W = map(int, raw_input() if H == W == 0: break for i in range(H): if i % 2 == 0: if W % 2 == 0: print "#." * (W / 2) else: print "#." * (W / ...
File "/tmp/tmpao3akzjo/tmpw0aaom9r.py", line 2 H,W = map(int, raw_input() ^ SyntaxError: '(' was never closed
s301971205
p02405
u011261384
1469553913
Python
Python
py
Runtime Error
0
0
579
while 1: H,W = map(int, raw_input().split()) if H + W == 0: break for i in range(H): if i % 2 == 0: if W % 2 == 0: print "#." * (W / 2) else: print "#."...
File "/tmp/tmppknr93sp/tmpxqtjcsiu.py", line 8 print "#." * (W / 2) ^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s726114564
p02405
u204883389
1469603121
Python
Python3
py
Runtime Error
0
0
305
attern = { 0:["#", "."], 1:[".", "#"], } while True: (H, W) = [int(i) for i in input().split())] if H == W == 0: break for j in range(H): p = pattern[j % 2] print (.join([p[i % 2] for i in range(W)])) print()
File "/tmp/tmpkjzpzqbn/tmp41qp5dfa.py", line 6 while True: IndentationError: unexpected indent
s654148015
p02405
u204883389
1469603162
Python
Python3
py
Runtime Error
0
0
306
pattern = { 0:["#", "."], 1:[".", "#"], } while True: (H, W) = [int(i) for i in input().split())] if H == W == 0: break for j in range(H): p = pattern[j % 2] print (.join([p[i % 2] for i in range(W)])) print()
File "/tmp/tmpstjltib1/tmph1jq1qmu.py", line 6 while True: IndentationError: unexpected indent
s266071948
p02405
u204883389
1469603243
Python
Python3
py
Runtime Error
0
0
270
pattern = { 0:["#", "."], 1:[".", "#"], } while True: (H, W) = [int(i) for i in input().split())] if H == W == 0: break for j in range(H): p = pattern[j % 2] print (.join([p[i % 2] for i in range(W)])) print()
File "/tmp/tmpy_herh0a/tmpez3b_g1o.py", line 7 (H, W) = [int(i) for i in input().split())] ^ SyntaxError: closing parenthesis ')' does not match opening parenthesis '['
s442225649
p02405
u204883389
1469603295
Python
Python3
py
Runtime Error
0
0
262
pattern = { 0:["#", "."], 1:[".", "#"], } while True: (H, W) = [int(i) for i in input().split())] if H == W == 0: break for j in range(H): p = pattern[j % 2] print (.join([p[i % 2] for i in range(W)])) print()
File "/tmp/tmpx4xlyu2m/tmpjla4pr_j.py", line 7 (H, W) = [int(i) for i in input().split())] ^ SyntaxError: closing parenthesis ')' does not match opening parenthesis '['
s151734020
p02405
u204883389
1469603303
Python
Python3
py
Runtime Error
0
0
262
pattern = { 0:["#", "."], 1:[".", "#"], } while True: (H, W) = [int(i) for i in input().split())] if H == W == 0: break for j in range(H): p = pattern[j % 2] print (.join([p[i % 2] for i in range(W)])) print()
File "/tmp/tmpru2luxsy/tmp35o0y8mk.py", line 7 (H, W) = [int(i) for i in input().split())] ^ SyntaxError: closing parenthesis ')' does not match opening parenthesis '['
s677604342
p02405
u204883389
1469603371
Python
Python3
py
Runtime Error
0
0
259
pattern = { 0: ["#", "."], 1: [".", "#"], } while True: (H, W) = [int(i) for i in input().split())] if H == W == 0: break for j in range(H): p = pattern[j % 2] print(.join([p[i % 2] for i in range(W)])) print()
File "/tmp/tmpkg4gv8pb/tmp63lpcbze.py", line 7 (H, W) = [int(i) for i in input().split())] ^ SyntaxError: closing parenthesis ')' does not match opening parenthesis '['
s503278180
p02405
u204883389
1469679946
Python
Python3
py
Runtime Error
0
0
265
pattern = { 0:["#", "."], 1:[".", "#"], } while True: (H, W) = map(int, raw_input().split()) if H == W == 0: break for j in range(H): p = pattern[j % 2] print ("join([p[i % 2] for i in range(W)])) print()
File "/tmp/tmp71aabqwt/tmphchcr8m5.py", line 12 print ("join([p[i % 2] for i in range(W)])) ^ SyntaxError: unterminated string literal (detected at line 12)
s882354355
p02405
u204883389
1469680030
Python
Python3
py
Runtime Error
0
0
269
pattern = { 0:["#", "."], 1:[".", "#"], } while True: (H, W) = [int(i) for i in input().split()] if H == W == 0: break for j in range(H): p = pattern[j % 2] print ("join([p[i % 2] for i in range(W)])) print()
File "/tmp/tmp032qpbt9/tmpq1o0z9sq.py", line 12 print ("join([p[i % 2] for i in range(W)])) ^ SyntaxError: unterminated string literal (detected at line 12)
s637320431
p02405
u204883389
1469680112
Python
Python3
py
Runtime Error
0
0
269
pattern = { 0:["#", "."], 1:[".", "#"], } while True: (H, W) = [int(i) for i in input().split()] if H == W == 0: break for i in range(H): p = pattern[i % 2] print ("join([p[i % 2] for i in range(W)])) print()
File "/tmp/tmpuqbjeg4_/tmp0tvjd2x4.py", line 12 print ("join([p[i % 2] for i in range(W)])) ^ SyntaxError: unterminated string literal (detected at line 12)
s717774170
p02405
u600195957
1469681357
Python
Python3
py
Runtime Error
0
0
293
while True: H, W = [int(i) for i in input().split()] for a in range(H): for b in range(W): if a % 2 == 0 or b % 2 == 0: print('#', end='') else: print('.', end='') print() print()
Traceback (most recent call last): File "/tmp/tmp3mm6mwt9/tmpb7k1wsit.py", line 3, in <module> H, W = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s525144740
p02405
u514745787
1469681441
Python
Python3
py
Runtime Error
0
0
164
while True: H, W = [int(i) for i in input().split()] if H + W % == 0: print('#') else: print('.') print
File "/tmp/tmpjzhcu7vb/tmp_giv6ni0.py", line 4 if H + W % == 0: IndentationError: unexpected indent
s020729295
p02405
u514745787
1469681491
Python
Python3
py
Runtime Error
0
0
143
while True: H, W = [int(i) for i in input().split()] if H + W % == 0 print('#') else: print('.') print
File "/tmp/tmpecs2zjjz/tmpifoptb9s.py", line 4 if H + W % == 0 ^^ SyntaxError: invalid syntax
s916815356
p02405
u514745787
1469681593
Python
Python3
py
Runtime Error
0
0
162
while True: H, W = [int(i) for i in input().split()] if H + W % == 0 print('#') else: print('.') print
File "/tmp/tmpv8gpyy0s/tmp5wyp9ew9.py", line 4 if H + W % == 0 IndentationError: unexpected indent
s288447451
p02405
u514745787
1469681647
Python
Python3
py
Runtime Error
0
0
163
while True: H, W = [int(i) for i in input().split()] if H + W % == 0: print('#') else: print('.') print
File "/tmp/tmpbl11280v/tmpot4xbr2b.py", line 4 if H + W % == 0: IndentationError: unexpected indent
s043103650
p02405
u514745787
1469681735
Python
Python3
py
Runtime Error
0
0
166
while True: h, w = [int(i) for i in input().split()] if (h + w) % 2 = 0: print('#') else: print('.') print
File "/tmp/tmptcqcq5x8/tmp77_wtztu.py", line 4 if (h + w) % 2 = 0: IndentationError: unexpected indent
s806641990
p02405
u628732336
1469681756
Python
Python3
py
Runtime Error
0
0
286
while True: height, width = [int(x) for x in input().split(" ")] if height == width == 0: break col1 = "#." * 150 col2 = ".#" * 150 col_set = col,1[:width] + "\n" + col1[:width] + "\n" print(col_set * (height // 2) + (col1[:width] + "\n") * (height % 2))
/tmp/tmpbrbld28z/tmpa3ykw06n.py:7: SyntaxWarning: 'int' object is not subscriptable; perhaps you missed a comma? col_set = col,1[:width] + "\n" + col1[:width] + "\n" Traceback (most recent call last): File "/tmp/tmpbrbld28z/tmpa3ykw06n.py", line 2, in <module> height, width = [int(x) for x in input().split(" ")...
s214410284
p02405
u085472528
1469681863
Python
Python3
py
Runtime Error
0
0
315
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): if (h + w) % 2 == 0: print('#', end='') else: print('.', end='') print()
File "/tmp/tmpbtscnjet/tmpppulygb_.py", line 1 True: ^ SyntaxError: invalid syntax
s995723290
p02405
u514745787
1469681878
Python
Python3
py
Runtime Error
0
0
213
while True: H, W = [int(i) for i in input().split()] if H == W == 0: break if (h + w) % 2 = 0: print('#', end='') else: print('.', end='') print()
File "/tmp/tmp4chebzf2/tmpp32pjcya.py", line 6 if (h + w) % 2 = 0: ^^^^^^^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s139614208
p02405
u514745787
1469681956
Python
Python3
py
Runtime Error
0
0
282
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): if (h + w) % 2 = 0: print('#', end='') else: print('.', end='') print()
File "/tmp/tmppz4jgsd2/tmpqke3yaiq.py", line 7 if (h + w) % 2 = 0: ^^^^^^^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s520055139
p02405
u204883389
1469681967
Python
Python3
py
Runtime Error
0
0
279
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): if (h + w) % 2 == 0: print('#', end='') else: print('.', end='') print()
Traceback (most recent call last): File "/tmp/tmp_8oyo94m/tmpp002djrn.py", line 2, in <module> H, W = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s654766089
p02405
u514745787
1469681968
Python
Python3
py
Runtime Error
0
0
283
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): if (h + w) % 2 = 0: print('#', end='') else: print('.', end='') print()
File "/tmp/tmpwpvxm0h7/tmpy6yxwpdn.py", line 8 if (h + w) % 2 = 0: ^^^^^^^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s373184241
p02405
u085472528
1469681974
Python
Python3
py
Runtime Error
0
0
321
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): if (h + w) % 2 == 0: print('#', end='???') else: print('.', end='???') print(...
File "/tmp/tmpc30slhu_/tmpoyumds8o.py", line 1 True: ^ SyntaxError: invalid syntax
s295030054
p02405
u085472528
1469682011
Python
Python3
py
Runtime Error
0
0
298
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): if (h + w) % 2 == 0: print('#', end='') else: print('.', end='') print()
File "/tmp/tmp45sh38kt/tmpf7854wkf.py", line 1 True: ^ SyntaxError: invalid syntax
s902276099
p02405
u204883389
1469682046
Python
Python3
py
Runtime Error
0
0
279
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): if (h + w) % 2 == 0: print('#', end='') else: print('.', end='') print()
Traceback (most recent call last): File "/tmp/tmp6albqsds/tmpgarf3yw0.py", line 2, in <module> H, W = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s944075180
p02405
u498041957
1469682051
Python
Python3
py
Runtime Error
0
0
219
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): if (h + w) % 2 == 0: print('#', end='')
Traceback (most recent call last): File "/tmp/tmpjfej7780/tmp3ozdi2pw.py", line 2, in <module> H,W = [int(i)for i in input.split()] ^^^^^^^^^^^ AttributeError: 'builtin_function_or_method' object has no attribute 'split'
s196404311
p02405
u661284763
1469682080
Python
Python3
py
Runtime Error
0
0
176
while True: h, w = map(int,input().strip().split()) if h == w == 0: berak for y in range(h): print(''.join('#.'[(x + y) % 2] for x in range(w))) print()
Traceback (most recent call last): File "/tmp/tmp_ym3kd1z/tmpeqwr13r4.py", line 2, in <module> h, w = map(int,input().strip().split()) ^^^^^^^ EOFError: EOF when reading a line
s213815381
p02405
u435917115
1469682104
Python
Python3
py
Runtime Error
0
0
277
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): if (h + w) % 2 == 0: print('#', end='') else: print('.', end='') print()
Traceback (most recent call last): File "/tmp/tmpfa56r7kg/tmpyseiplcm.py", line 2, in <module> H, W = [int(i) for i in input().split] ^^^^^^^ EOFError: EOF when reading a line
s956491768
p02405
u498041957
1469682132
Python
Python3
py
Runtime Error
0
0
288
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): if (h + w) % 2 == 0: print('#', end='') else: print('.' end='') print() print()
File "/tmp/tmpcazcccwy/tmpil507ddv.py", line 12 print('.' end='') ^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s129775824
p02405
u204883389
1469682154
Python
Python3
py
Runtime Error
0
0
255
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): if (h + w) % 2 == 0: print('#', end='') else: print('.', end='') print()
File "/tmp/tmpyli8rkj5/tmpcnc3vneq.py", line 7 for w in range(W): ^ IndentationError: expected an indented block after 'for' statement on line 6
s506693402
p02405
u435917115
1469682155
Python
Python3
py
Runtime Error
0
0
276
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): if(h + w) % 2 == 0: print('#', end='') else: print('.', end='') print()
Traceback (most recent call last): File "/tmp/tmpj7u845r3/tmp7e9prrr7.py", line 2, in <module> H, W = [int(i) for i in input().split] ^^^^^^^ EOFError: EOF when reading a line
s719795378
p02405
u264632995
1469682169
Python
Python3
py
Runtime Error
0
0
289
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): if (h+w) % 2 == 0 : print('#', end ='') else print('.', end ='') print() print()
File "/tmp/tmpanimmajx/tmp0_3ypne1.py", line 9 else ^ SyntaxError: expected ':'
s922568174
p02405
u264632995
1469682187
Python
Python3
py
Runtime Error
0
0
289
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): if (h+w) % 2 == 0 : print('#', end ='') elif print('.', end ='') print() print()
File "/tmp/tmpctrgzpb4/tmpdxlxxu4w.py", line 9 elif ^ SyntaxError: invalid syntax
s375420754
p02405
u204883389
1469682202
Python
Python3
py
Runtime Error
0
0
279
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): if (h + w) % 2 == 0: print('#', end='') else: print('.', end='') print()
Traceback (most recent call last): File "/tmp/tmpd6ht42ph/tmpuzpu7q2v.py", line 2, in <module> H, W = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s819151485
p02405
u435917115
1469682247
Python
Python3
py
Runtime Error
0
0
277
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): if (H + W) % 2 == 0: print('#', end='') else: print('.', end='') print()
Traceback (most recent call last): File "/tmp/tmp0s46jz5t/tmp24xxhrq8.py", line 2, in <module> H, W = [int(i) for i in input().split] ^^^^^^^ EOFError: EOF when reading a line
s066084266
p02405
u216425054
1470735629
Python
Python3
py
Runtime Error
0
0
212
while True: [H,W]=[int(x) for x in input().split()] if [H,W]==[0,0]: break unit="#." for i in range(0,H): print(unit*(W/2)+unit[0]*(W%2)) unit=unit[1]+unit[0] print("")
Traceback (most recent call last): File "/tmp/tmpllg_b53d/tmpa98_kp0o.py", line 2, in <module> [H,W]=[int(x) for x in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s689424834
p02405
u119456964
1471248910
Python
Python
py
Runtime Error
0
0
350
while 1; H, W = map(int, raw_input().split()) s = "" if H == 0 and W == 0: break for i in range(H): for j in range(W): if i%2 == 0: if j%2 == 0: s = s + "#" else: s = s + "." else: if j%2 == 0: s = s + "." else: s = ...
File "/tmp/tmpx2c7ah6h/tmpkub7azi4.py", line 1 while 1; ^ SyntaxError: invalid syntax