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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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) | File "/tmp/tmp27az_iuj/tmpskq57s_b.py", line 4
if a=0 and b=0:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
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) | Traceback (most recent call last):
File "/tmp/tmp26gx828f/tmp8hl2fj_g.py", line 7, in <module>
sharp = "#" * a[1]
~^^^
IndexError: list index out of range
| |
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) | Traceback (most recent call last):
File "/tmp/tmpo3c_vqnu/tmpxvjpfk66.py", line 7, in <module>
for i in range(a[0]):
~^^^
IndexError: list index out of range
| |
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") | Traceback (most recent call last):
File "/tmp/tmpmj8kepk6/tmppicu_zfm.py", line 7, in <module>
sharp = "#" * a[1]
~^^^
IndexError: list index out of range
| |
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") | Traceback (most recent call last):
File "/tmp/tmpc342blqy/tmpg5hhn0c2.py", line 7, in <module>
sharp = "#" * a[1]
~^^^
IndexError: list index out of range
| |
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) | Traceback (most recent call last):
File "/tmp/tmpjsc6wr3q/tmpe0lyny4z.py", line 7, in <module>
sharp = "#" * a[1]
~^^^
IndexError: list index out of range
| |
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() | Traceback (most recent call last):
File "/tmp/tmptmmau7y9/tmp3b0bydam.py", line 7, in <module>
sharp = "#" * a[1]
~^^^
IndexError: list index out of range
| |
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() | Traceback (most recent call last):
File "/tmp/tmpoaol03r2/tmpbeltltes.py", line 7, in <module>
sharp = "#" * a[1]
~^^^
IndexError: list index out of range
| |
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() | Traceback (most recent call last):
File "/tmp/tmp0d8oryy1/tmpsbtmdup0.py", line 7, in <module>
for i in range(a[0]):
~^^^
IndexError: list index out of range
| |
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) | Traceback (most recent call last):
File "/tmp/tmpcvo0klih/tmp1a37xn2o.py", line 2, in <module>
h,w=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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) | File "/tmp/tmpqxnxla97/tmpdmw210_r.py", line 5
''join([*]**w)
^^^^
SyntaxError: invalid syntax
| |
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) | File "/tmp/tmp2niwx4k4/tmp3z7zyaem.py", line 5
''.join([*]**w)
^
SyntaxError: Invalid star expression
| |
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() | File "/tmp/tmpt6op42x3/tmp2_lqv4gn.py", line 5
print("".join([*]**w))
^
SyntaxError: Invalid star expression
| |
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() | Traceback (most recent call last):
File "/tmp/tmpu3400xz3/tmp9bkj3p3u.py", line 2, in <module>
h,w=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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("") | File "/tmp/tmpn7sprxwi/tmp7o83n14m.py", line 3
break
^^^^^
SyntaxError: 'break' outside loop
| |
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("") | File "/tmp/tmpnggdzc_v/tmp3kyxkila.py", line 3
break
^^^^^
SyntaxError: 'break' outside loop
| |
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()
| File "/tmp/tmpiq0__fiq/tmp58u8j_jg.py", line 2
if a==b==0:break
IndentationError: unexpected indent
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpxamv1y6g/tmpqqau2_gn.py", line 3, in <module>
H,W = [int(x) for x in input().split( )]
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| File "/tmp/tmpnil2d162/tmpnlxgxk_0.py", line 1
whle True:
^^^^
SyntaxError: invalid syntax
| |
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):... | Traceback (most recent call last):
File "/tmp/tmpqhhjtc5y/tmpsphas92q.py", line 3, in <module>
N,*datas = [int(i) for i in stdin.readlines()]
^^^^^^^^
ValueError: not enough values to unpack (expected at least 1, got 0)
| |
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()
| File "/tmp/tmpzkyd5n6i/tmpa0d1qmx2.py", line 4
if H == 0 and W == 0:
^
SyntaxError: invalid non-printable character U+3000
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpvfctxnkq/tmpbts57snm.py", line 2, in <module>
a, b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpslwf7mlp/tmpft50veyq.py", line 1, in <module>
while true:
^^^^
NameError: name 'true' is not defined. Did you mean: 'True'?
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpkh8nlwwc/tmpa_prcdut.py", line 2, in <module>
h, w = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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("")
| File "/tmp/tmpagehvveh/tmpdo__98m0.py", line 2
H,W=input().split())
^
SyntaxError: unmatched ')'
| |
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("")
| File "/tmp/tmpgiqoz36v/tmpgcyab0nl.py", line 2
H,W=input().split())
^
SyntaxError: unmatched ')'
| |
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("")
| File "/tmp/tmpy6o8emdt/tmpu2cmhngy.py", line 2
H,W=input().split())
^
SyntaxError: unmatched ')'
| |
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("")
| Traceback (most recent call last):
File "/tmp/tmp0ao49dfm/tmp0j0654vx.py", line 2, in <module>
if h==0 and w==0:
^
NameError: name 'h' is not defined
| |
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("")
| Traceback (most recent call last):
File "/tmp/tmpzhg9loet/tmpo_7gh1vb.py", line 1, in <module>
H, W = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| File "/tmp/tmpw4bes0vt/tmp03b1s2wp.py", line 6
print(/n)
^
SyntaxError: invalid syntax
| |
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)
| File "/tmp/tmpws_6tjrt/tmpqbnsc5zb.py", line 6
print(/n)
^
SyntaxError: invalid syntax
| |
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)
| File "/tmp/tmp_dca_ds0/tmpvpz9ljcs.py", line 7
print(/n)
^
SyntaxError: invalid syntax
| |
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)
| File "/tmp/tmptmjfp49_/tmp7m1owi6_.py", line 7
print(/n)
^
SyntaxError: invalid syntax
| |
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
| File "/tmp/tmp5fa_oral/tmpu8rkiv85.py", line 7
/n
^
SyntaxError: invalid syntax
| |
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("")
| Traceback (most recent call last):
File "/tmp/tmpdip4lfx1/tmpw2bzy9vt.py", line 4, in <module>
nums = list(map(int, input().split(" ")))
^^^^^^^
EOFError: EOF when reading a line
| |
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()
| Traceback (most recent call last):
File "/tmp/tmp43m8gkha/tmp1ki84iu1.py", line 2, in <module>
m=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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()
| Traceback (most recent call last):
File "/tmp/tmp_xm2wwbh/tmpej4s0ctn.py", line 2, in <module>
m=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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()
| Traceback (most recent call last):
File "/tmp/tmpnmkzhz7u/tmp33as2qfv.py", line 2, in <module>
m=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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()
| Traceback (most recent call last):
File "/tmp/tmp2fkl877b/tmpgfomow61.py", line 2, in <module>
m=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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()
| Traceback (most recent call last):
File "/tmp/tmpg8kg7ube/tmp21dj3x3u.py", line 2, in <module>
m=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmp7movt_ed/tmpy6nn7e2b.py", line 2, in <module>
m=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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()
| Traceback (most recent call last):
File "/tmp/tmp4qkmmyqf/tmp_w6r5n6y.py", line 2, in <module>
h=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
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()
| Traceback (most recent call last):
File "/tmp/tmp8qgu3hv2/tmp8vncl57b.py", line 2, in <module>
h=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmp89pyx50k/tmp66asqfan.py", line 2, in <module>
m=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmp6m8zfyoh/tmp9f9g0f2a.py", line 2, in <module>
m=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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()
| Traceback (most recent call last):
File "/tmp/tmp7x_vh11i/tmpd2r_9s5p.py", line 2, in <module>
m=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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()
| File "/tmp/tmpfebfrfiu/tmpbm6se38k.py", line 8
for j in range(w)
^
SyntaxError: expected ':'
| |
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()
| File "/tmp/tmp20dpdqul/tmpkcg0l93o.py", line 10
print()
^
IndentationError: unindent does not match any outer indentation level
| |
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(" ")
| File "/tmp/tmpjjxgu127/tmpgn9eu4f7.py", line 10
print(" ")
^
IndentationError: unindent does not match any outer indentation level
| |
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(" ")
| File "/tmp/tmpdvxzt0vl/tmp67rrs_ng.py", line 10
print(" ")
^
IndentationError: unindent does not match any outer indentation level
| |
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(" ")
| File "/tmp/tmp8q38sxse/tmpn0scpj6g.py", line 10
print(" ")
^
IndentationError: unindent does not match any outer indentation level
| |
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(" ")
| File "/tmp/tmpugqckeoh/tmp3ksuf6rl.py", line 10
print(" ")
^
IndentationError: unindent does not match any outer indentation level
| |
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()
| Traceback (most recent call last):
File "/tmp/tmpvc0pzlth/tmpag8gkppn.py", line 2, in <module>
x=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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(" ")
| Traceback (most recent call last):
File "/tmp/tmpe0eo4wgj/tmpmq73o0g2.py", line 2, in <module>
x=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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(" ")
| Traceback (most recent call last):
File "/tmp/tmppd8hu61t/tmp4ps74494.py", line 2, in <module>
x=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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(" ")
| File "/tmp/tmpvhy07s1l/tmpc4ir2z1y.py", line 8
print('#'*w)
^
IndentationError: expected an indented block after 'for' statement on line 7
| |
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()
| Traceback (most recent call last):
File "/tmp/tmp4b14cs43/tmpv3itm7rt.py", line 2, in <module>
x=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpmxj6hf7p/tmpwz8b7rb8.py", line 2, in <module>
h,w=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| File "/tmp/tmpezz21b1s/tmpog9fb23p.py", line 1
H,W = tuple(int(n) for n in input().split())
IndentationError: unexpected indent
| |
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)
| File "/tmp/tmp_7w6anxh/tmpibfuec8a.py", line 4
if H ==0 and W==0: break
^^^^^
SyntaxError: 'break' outside loop
| |
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)
| File "/tmp/tmphchwygrv/tmp17uy9fn0.py", line 3
if H ==0 and W==0: break
^^^^^
SyntaxError: 'break' outside loop
| |
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)
| File "/tmp/tmpszhr33u4/tmpxnc5z6v3.py", line 1
While True:
^^^^
SyntaxError: invalid syntax
| |
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)
| File "/tmp/tmp6o1yrsuy/tmp6f65vplu.py", line 1
While True:
^^^^
SyntaxError: invalid syntax
| |
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)
| File "/tmp/tmpf8vxln2n/tmp3zyg5tnp.py", line 3
if H ==0 and W==0 : break
^
SyntaxError: invalid non-printable character U+3000
| |
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'))
| File "/tmp/tmpdkdxe4o7/tmp0q5srwz2.py", line 4
for i in range(H)
^
SyntaxError: expected ':'
| |
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)
| Traceback (most recent call last):
File "/tmp/tmprdn5v722/tmp2l8oj6uo.py", line 1, in <module>
H, W = int(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmppj1kr0x4/tmp9oh8wqoq.py", line 1, in <module>
H, W = int(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpj7yrrs4q/tmp2_5pghlg.py", line 1, in <module>
H, W = map(int(input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
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')
| Traceback (most recent call last):
File "/tmp/tmpnk7n0jor/tmpa70of9q3.py", line 3, in <module>
H,W = map(int(input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| File "/tmp/tmp2749r2qj/tmpplycbxjb.py", line 5
print ('#' * w)
^
IndentationError: expected an indented block after 'for' statement on line 4
| |
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)
| Traceback (most recent call last):
File "/tmp/tmp1b_n_0eb/tmpwsbdvca2.py", line 2, in <module>
if h==0 and w==0:
^
NameError: name 'h' is not defined
| |
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("#")
| File "/tmp/tmp_cmm2e83/tmp_ejo_elf.py", line 6
print("#")
^
IndentationError: expected an indented block after 'for' statement on line 5
| |
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]))
| Traceback (most recent call last):
File "/tmp/tmp0ciyddzq/tmpiltddq01.py", line 7, in <module>
x = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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 << '\... | File "/tmp/tmp6ivunqec/tmpn0fpyak9.py", line 5
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
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 << '\... | File "/tmp/tmp412myerc/tmpby1bn2tq.py", line 5
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
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()
| File "/tmp/tmpmx8fnur5/tmpl_0vm2wm.py", line 2
a,b = map(int, input(.split()))
^
SyntaxError: invalid syntax
| |
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()
| File "/tmp/tmpwrmw7w35/tmps40p92w8.py", line 2
a,b = map(int, input().split()))
^
SyntaxError: unmatched ')'
| |
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')
| Traceback (most recent call last):
File "/tmp/tmpex5vm_ax/tmpo97c0ndv.py", line 4, in <module>
if map(int,raw_input().split()) == [0,0]:
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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')
| Traceback (most recent call last):
File "/tmp/tmpg0u_99b4/tmp7h9cuhly.py", line 4, in <module>
if map(int,raw_input().split()) == [0,0]:
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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')
| Traceback (most recent call last):
File "/tmp/tmp7owhgw44/tmpo2apsjqg.py", line 4, in <module>
if map(int,raw_input().split()) == [0,0]:
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpjrkcqqct/tmp3exfkmjt.py", line 4, in <module>
if map(int,raw_input().split()) == [0,0]:
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpbzluvxz3/tmpl9pagxpe.py", line 4, in <module>
if raw_input() == '0 0':
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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('')
| File "/tmp/tmp9zfqgnxt/tmpytg8uueo.py", line 9
print('')
^
IndentationError: unindent does not match any outer indentation level
| |
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
| File "/tmp/tmp88gfc_3z/tmpo6d_arqt.py", line 13
print '#' * b
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean 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... | File "/tmp/tmp2hynmdsz/tmpez09mukd.py", line 2
class Main{
^
SyntaxError: invalid syntax
| |
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(
)
| File "/tmp/tmpv5fe0p26/tmpb7dsgscq.py", line 3
if a=b=0:
^
SyntaxError: invalid syntax
| |
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(
)
| Traceback (most recent call last):
File "/tmp/tmpeftdpwx4/tmpdzmmdzon.py", line 2, in <module>
a,b=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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()
| File "/tmp/tmpttr3_cv8/tmpo2wyl61p.py", line 2
while True;
^
SyntaxError: invalid syntax
| |
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 | File "/tmp/tmpabmzjeea/tmpjd2purgf.py", line 12
for j in range(h): print s
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean 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) | File "/tmp/tmp8hlufw3e/tmp60b3hbrp.py", line 1
(m,n)=map(int, raw_input().split())
IndentationError: unexpected indent
| |
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) | File "/tmp/tmpojn2ct1f/tmpcb1tmtrr.py", line 1
(m,n)=map(int, raw_input().split())
IndentationError: unexpected indent
| |
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) | File "/tmp/tmp4l3l40tj/tmp2s4gnpsy.py", line 1
(m,n)=map(int, raw_input().split())
IndentationError: unexpected indent
| |
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" | File "/tmp/tmptvdgu8r9/tmpnh67u8ya.py", line 10
wide = "#" for i in range(W)
^^^
SyntaxError: invalid syntax
| |
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() | File "/tmp/tmpirxvxwdl/tmpnl2hxafs.py", line 8
if num=raw_input() is not "0 0":
^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
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()
| Traceback (most recent call last):
File "/tmp/tmpc5ed988d/tmp1n9faowo.py", line 2, in <module>
h, w = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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),"#")
| File "/tmp/tmp0zpym_2o/tmpey0_s77f.py", line 6
if i = 1:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
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()
| File "/tmp/tmpzcs5nxn1/tmp9mfvqxb0.py", line 6
if i = 1:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
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()
| File "/tmp/tmpsit96g56/tmptbv3dno1.py", line 6
if i = 1:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
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()
| File "/tmp/tmpi4ygn1d3/tmp6uycvstr.py", line 5
for int(i) in range(H):
^^^^^^
SyntaxError: cannot assign to function call
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.