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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s484437471 | p02406 | u252054808 | 1556179032 | Python | Python3 | py | Runtime Error | 0 | 0 | 306 | def nabeatsu(n):
if(n % 3 == 0):
return True
temp = n
while(temp > 0):
if(temp % 10 == 3):
return True
temp = temp // 10
return False
x = int(input())
ans = []
for i in range(x):
if(nabeatsu(i + 1)):
ans.append(i + 1)
print((' '.join(ans)))
| Traceback (most recent call last):
File "/tmp/tmpjgiq6ny0/tmpjt3gbs7g.py", line 11, in <module>
x = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s150930350 | p02406 | u242221792 | 1556249228 | Python | Python3 | py | Runtime Error | 0 | 0 | 230 | a = int(input())
for i in range(1,a+3):
if i % 3 == 0 or i % 10 == 3 or (int(i/10) % 3 == 0 and int(i/10) != 0:
print(" {}".format(i), end = "")
elif i % 10 == 3:
print(" {}".format(i), end = "")
print()
| File "/tmp/tmp7n77uqa3/tmpqnzf3a0p.py", line 3
if i % 3 == 0 or i % 10 == 3 or (int(i/10) % 3 == 0 and int(i/10) != 0:
^
SyntaxError: invalid syntax
| |
s529762028 | p02406 | u242221792 | 1556250026 | Python | Python3 | py | Runtime Error | 0 | 0 | 255 | a = int(input())
for i in range(1,a+1):
if i % 3 == 0 or i % 10 == 3:
print(" {}".format(i), end = "")
else:
while x < 0:
int(x/=10)
if x % 10 == 3:
print(" {}".format(i), end = "")
print()
| File "/tmp/tmplt23d_gu/tmp5p1qeubp.py", line 7
int(x/=10)
^^
SyntaxError: invalid syntax
| |
s508989524 | p02406 | u482227082 | 1556423876 | Python | Python3 | py | Runtime Error | 0 | 0 | 187 | n = int(input())
i = 1
while True:
x = i
if x % 3 == 0 or x % 10 ==3 or x / 10 == 0:
print(" %d" i)
i+=1
if i > n:
print()
break
| File "/tmp/tmp25453dxt/tmpa6epvp9r.py", line 7
print(" %d" i)
^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s603469166 | p02406 | u482227082 | 1556423986 | Python | Python3 | py | Runtime Error | 0 | 0 | 171 | n = int(input())
i = 1
while True:
x = i
if x % 3 == 0 or x % 10 ==3 or x / 10 == 0:
print(" " + i)
i+=1
if i > n:
print()
break
| Traceback (most recent call last):
File "/tmp/tmpgrfc81hf/tmps8zfqabp.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s528010425 | p02406 | u482227082 | 1556424002 | Python | Python3 | py | Runtime Error | 0 | 0 | 171 | n = int(input())
i = 1
while True:
x = i
if x % 3 == 0 or x % 10 ==3 or x / 10 == 0:
print(" %d" i)
i+=1
if i > n:
print()
break
| File "/tmp/tmp24tzhco1/tmpwemh0wcw.py", line 7
print(" %d" i)
^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s798069871 | p02406 | u482227082 | 1556424768 | Python | Python3 | py | Runtime Error | 0 | 0 | 333 | n = int(input())
i = 1
while True:
x = i
if x % 3 == 0:
print(" %d" ,i)
i+=1
if i > n:
print()
break
if x % 10 == 3:
print(" %d" ,i)
i+=1
if i > n:
print()
break
else:
x /= 10
if x != 0
... | File "/tmp/tmptxf2wzpo/tmp1shd8dy4.py", line 20
if x != 0
^
SyntaxError: expected ':'
| |
s546993796 | p02406 | u482227082 | 1556424776 | Python | Python3 | py | Runtime Error | 0 | 0 | 334 | n = int(input())
i = 1
while True:
x = i
if x % 3 == 0:
print(" %d" ,i)
i+=1
if i > n:
print()
break
if x % 10 == 3:
print(" %d" ,i)
i+=1
if i > n:
print()
break
else:
x /= 10
if x != 0:
... | File "/tmp/tmpog5ekofh/tmp0y37aisw.py", line 21
continue
^
IndentationError: expected an indented block after 'if' statement on line 20
| |
s108426437 | p02406 | u482227082 | 1556426115 | Python | Python3 | py | Runtime Error | 0 | 0 | 294 | n = int(input())
i = 1
ret = ""
while True:
x = i
if x % 3 == 0:
ret += " " + str(i)
elif x % 10 == 3:
ret += " " + str(i)
else
while x /= 10 > 0:
if x % 10 == 3:
ret += " " + str(i)
i+=1
if i > n:
break
print(ret)
| File "/tmp/tmpml0kv84s/tmph9b3oos6.py", line 10
else
^
SyntaxError: expected ':'
| |
s413672282 | p02406 | u482227082 | 1556426133 | Python | Python3 | py | Runtime Error | 0 | 0 | 295 | n = int(input())
i = 1
ret = ""
while True:
x = i
if x % 3 == 0:
ret += " " + str(i)
elif x % 10 == 3:
ret += " " + str(i)
else:
while x /= 10 > 0:
if x % 10 == 3:
ret += " " + str(i)
i+=1
if i > n:
break
print(ret)
| File "/tmp/tmpe8e7uvly/tmpv4jumsy_.py", line 11
while x /= 10 > 0:
^^
SyntaxError: invalid syntax
| |
s726637312 | p02406 | u482227082 | 1556426223 | Python | Python3 | py | Runtime Error | 0 | 0 | 326 | n = int(input())
i = 1
ret = ""
while True:
x = i
if x % 3 == 0:
ret += " " + str(i)
elif x % 10 == 3:
ret += " " + str(i)
else:
x /= 10
while x > 0 :
if x % 10 == 3:
ret += " " + str(i)
x /= 10
i+=1
if i > n:
break
print(... | File "/tmp/tmp9milvpit/tmp4a8321dt.py", line 13
if x % 10 == 3:
^
IndentationError: expected an indented block after 'while' statement on line 12
| |
s615062211 | p02406 | u482227082 | 1556426231 | Python | Python3 | py | Runtime Error | 0 | 0 | 325 | n = int(input())
i = 1
ret = ""
while True:
x = i
if x % 3 == 0:
ret += " " + str(i)
elif x % 10 == 3:
ret += " " + str(i)
else:
x /= 10
while x > 0:
if x % 10 == 3:
ret += " " + str(i)
x /= 10
i+=1
if i > n:
break
print(r... | File "/tmp/tmpr3bsriam/tmpgy5aj6wg.py", line 13
if x % 10 == 3:
^
IndentationError: expected an indented block after 'while' statement on line 12
| |
s267352520 | p02406 | u805716376 | 1556706446 | Python | Python3 | py | Runtime Error | 20 | 5980 | 419 | a = set()
i = 1
n = int(input())
def checkNum():
global a, i, x
x = i
if x%3 ==0:
a.add(i)
endCheck()
include3()
x //= 10;
if x:
include3()
endCheck()
def include3():
global a, i
if x%10 == 3:
a.add(i)
endCheck()
def endCheck():
g... | Traceback (most recent call last):
File "/tmp/tmpsm7nqhuw/tmpoylv8hsn.py", line 3, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s352270733 | p02406 | u805716376 | 1556706748 | Python | Python3 | py | Runtime Error | 20 | 5980 | 419 | a = set()
i = 1
n = int(input())
def checkNum():
global a, i, x
x = i
if x%3 ==0:
a.add(i)
endCheck()
include3()
x //= 10;
if x:
include3()
endCheck()
def include3():
global a, i
if x%10 == 3:
a.add(i)
endCheck()
def endCheck():
g... | Traceback (most recent call last):
File "/tmp/tmpo3q6sr72/tmpv4r2s42s.py", line 3, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s919267348 | p02406 | u805716376 | 1556707626 | Python | Python3 | py | Runtime Error | 20 | 5980 | 419 | a = set()
i = 1
n = int(input())
def checkNum():
global a, i, x
x = i
if x%3 ==0:
a.add(i)
endCheck()
include3()
x //= 10;
if x:
include3()
endCheck()
def include3():
global a, i
if x%10 == 3:
a.add(i)
endCheck()
def endCheck():
g... | Traceback (most recent call last):
File "/tmp/tmpm7wrosry/tmp7tnyrf5f.py", line 3, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s554417795 | p02406 | u483716678 | 1558994436 | Python | Python | py | Runtime Error | 0 | 0 | 107 | n = int(input())
x = 1
while x <= 30:
if(x%3==0 or x%10==3):
print(' ',end=str(x))
x += 1
| Traceback (most recent call last):
File "/tmp/tmpeuxz5ocg/tmpqb8jpkyo.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s407948703 | p02406 | u483716678 | 1559143756 | Python | Python | py | Runtime Error | 0 | 0 | 264 | n = int(input())
y = 1
while y <= n :
if(y % 3 == 0):
print(' %d'%y,end='')
else:
p = y
while(p != 0):
if(p % 10 == 3):
print(' %d'%y,end='')
break
p //= 10
y+=1
print()
| Traceback (most recent call last):
File "/tmp/tmpfivllvbd/tmpfvdd1akb.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s405575121 | p02406 | u535719732 | 1559214612 | Python | Python3 | py | Runtime Error | 0 | 0 | 211 | function check(n):
i = 1
print(" ",end="")
while(i != n):
if (i % 3 == 0):
print(i,end="")
elif(i % 10 == 3):
print(i,end="")
i = i / 10
| File "/tmp/tmpbtk_7rf4/tmp1gnwb00y.py", line 1
function check(n):
^^^^^
SyntaxError: invalid syntax
| |
s938351152 | p02406 | u535719732 | 1559214630 | Python | Python3 | py | Runtime Error | 0 | 0 | 221 | function check(n):
i = 1
print(" ",end="")
while(i != n):
if (i % 3 == 0):
print(i,end="")
elif(i % 10 == 3):
print(i,end="")
i = i / 10
check(30)
| File "/tmp/tmp60vc5g0n/tmp02e9iohs.py", line 1
function check(n):
^^^^^
SyntaxError: invalid syntax
| |
s986286906 | p02406 | u535719732 | 1559214655 | Python | Python3 | py | Runtime Error | 0 | 0 | 234 | inp = int(input())
function check(n):
i = 1
print(" ",end="")
while(i != n):
if (i % 3 == 0):
print(i,end="")
elif(i % 10 == 3):
print(i,end="")
i = i / 10
check(inp)
| File "/tmp/tmp7koyfe3w/tmpef2tj2h7.py", line 3
function check(n):
^^^^^
SyntaxError: invalid syntax
| |
s166953515 | p02406 | u535719732 | 1559215864 | Python | Python3 | py | Runtime Error | 0 | 0 | 299 | inp = int(input())
for i in range(1,n+1):
i = 1
x = i
if(x%3 == 0):
print(" %d", end="")
else:
while(x):
if(x%10 == 3):
print(" %d", end="")
break
else:
x //= 10
check(inp)
| Traceback (most recent call last):
File "/tmp/tmpr8o3msv2/tmp411rvuqq.py", line 1, in <module>
inp = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s782553413 | p02406 | u193599711 | 1423194753 | Python | Python3 | py | Runtime Error | 0 | 0 | 162 | :!cat tes.py
array = []
for i in range(3,int(input()) + 1):
if i % 3 == 0 or i % 10 == 3:
array.append(i)
for i in array:
print('',"{0}".format(i),end='') | File "/tmp/tmptk0a292i/tmps2kuzoo3.py", line 1
:!cat tes.py
^
SyntaxError: invalid syntax
| |
s057103205 | p02406 | u067975558 | 1423220285 | Python | Python3 | py | Runtime Error | 0 | 0 | 100 | for i in range(3, int(input() + 1):
if i % 3 == 0 or '3' in str(i):
print('', i, end='') | File "/tmp/tmprb3xwd0n/tmpwcljwpsi.py", line 1
for i in range(3, int(input() + 1):
^
SyntaxError: invalid syntax
| |
s567165133 | p02406 | u067975558 | 1423220317 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | for i in range(3, int(input() + 1):
if i % 3 == 0 or '3' in str(i):
print('', i, end='')
print() | File "/tmp/tmp66iy8c7i/tmp41ikpdhm.py", line 1
for i in range(3, int(input() + 1):
^
SyntaxError: invalid syntax
| |
s388974725 | p02406 | u442346200 | 1424050412 | Python | Python3 | py | Runtime Error | 0 | 0 | 243 | n = int(input())
for i in range(1,n+1):
x = i
if x % 3 == 0 or x % 10 == 3:
print(' {0}'.format(i), end='')
continue
x //= 10
while x != 0:
if x % 10 == 3:
print(' {0}.format(i), end='')
break
x //= 10
print() | File "/tmp/tmp_qe7vd8r/tmpwp35a_l0.py", line 11
print(' {0}.format(i), end='')
^
SyntaxError: unterminated string literal (detected at line 11)
| |
s453544690 | p02406 | u442346200 | 1424050671 | Python | Python3 | py | Runtime Error | 0 | 0 | 219 | n = int(input())
for i in range(3,n+1):
x = i
if x % 3 == 0:
print(' {0}'.format(i), end='')
continue
while x != 0:
if x % 10 == 3:
print(' {0}.format(i), end='')
break
x //= 10
print() | File "/tmp/tmpo9xumd1c/tmpen70pb4d.py", line 10
print(' {0}.format(i), end='')
^
SyntaxError: unterminated string literal (detected at line 10)
| |
s112064805 | p02406 | u442346200 | 1424050822 | Python | Python3 | py | Runtime Error | 0 | 0 | 225 | n = int(input())
for i in range(3,n+1):
x = i
if x % 3 == 0 or :
print(' {0}'.format(i), end='')
continue
while x != 0:
if x % 10 == 3:
print(' {0}.format(i), end='')
break
x //= 10
print() | File "/tmp/tmppnw0ifm6/tmpfforcyi7.py", line 10
print(' {0}.format(i), end='')
^
SyntaxError: unterminated string literal (detected at line 10)
| |
s578499344 | p02406 | u442346200 | 1424050874 | Python | Python3 | py | Runtime Error | 0 | 0 | 221 | n = int(input())
for i in range(3,n+1):
x = i
if x % 3 == 0:
print(' {0}'.format(i), end='')
continue
while x != 0:
if x % 10 == 3:
print(' {0}.format(i), end='')
break
x //= 10
print() | File "/tmp/tmp0nc3ogki/tmpoe3_5p_5.py", line 10
print(' {0}.format(i), end='')
^
SyntaxError: unterminated string literal (detected at line 10)
| |
s240434934 | p02406 | u745846646 | 1424052025 | Python | Python3 | py | Runtime Error | 0 | 0 | 258 | n = int(input())
for i in range(1, n+1):
x = i
if x % 3 == 0:
print(' {0}'.format(i), end='')
continue
while x != 0:
if x % 10 == 3:
print(' {0}'.format(i), end='')
break
x // = 10
print() | File "/tmp/tmpa1iuhu9y/tmp1_3j_d1_.py", line 12
x // = 10
^
SyntaxError: invalid syntax
| |
s659837896 | p02406 | u745846646 | 1424052119 | Python | Python3 | py | Runtime Error | 0 | 0 | 258 | n = int(input())
for i in range(3, n+1):
x = i
if x % 3 == 0:
print(' {0}'.format(i), end='')
continue
while x != 0:
if x % 10 == 3:
print(' {0}'.format(i), end='')
break
x // = 10
print() | File "/tmp/tmpcvk1grt5/tmp245q_l35.py", line 12
x // = 10
^
SyntaxError: invalid syntax
| |
s149676103 | p02406 | u745846646 | 1424052726 | Python | Python3 | py | Runtime Error | 0 | 0 | 260 | n = int(input())
for i in range(3, n+1):
x = i
if x % 3 == 0:
print(' {0}'.format(i), end=' ')
continue
while x != 0:
if x % 10 == 3:
print(' {0}'.format(i), end=' ')
break
x // = 10
print() | File "/tmp/tmpv_wblo8z/tmpsz6r2563.py", line 12
x // = 10
^
SyntaxError: invalid syntax
| |
s022167455 | p02406 | u376883550 | 1424092930 | Python | Python | py | Runtime Error | 0 | 0 | 174 | n = input()
array = []
for i in range(1, n + 1):
if x % 3 == 0 or x % 10 == 3:
array.append(x)
print str(array).replace('[', '').replace(']', '').replace(',', '') | File "/tmp/tmp_lkn6caa/tmp85dnb1eg.py", line 6
print str(array).replace('[', '').replace(']', '').replace(',', '')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s047626431 | p02406 | u172616925 | 1435570558 | Python | Python | py | Runtime Error | 0 | 0 | 99 | n = int(raw_input())
for i in range(1, n+1)
if (i % 3 == 0 or i % 10 == 3)
print (" %d" % i), | File "/tmp/tmpdaktc6jf/tmpc33h_t9y.py", line 2
for i in range(1, n+1)
^
SyntaxError: expected ':'
| |
s030193911 | p02406 | u172616925 | 1435570747 | Python | Python | py | Runtime Error | 0 | 0 | 97 | n = int(raw_input())
for i in range(1, n+1)
if (i % 3 == 0 or i % 10 == 3)
print " %d" % i, | File "/tmp/tmpk42psw9b/tmpheiqxd5w.py", line 2
for i in range(1, n+1)
^
SyntaxError: expected ':'
| |
s807982789 | p02406 | u172616925 | 1435570753 | Python | Python | py | Runtime Error | 0 | 0 | 96 | n = int(raw_input())
for i in range(1, n+1)
if (i % 3 == 0 or i % 10 == 3)
print " %d" % i | File "/tmp/tmpgfptwnza/tmpf92u26kh.py", line 2
for i in range(1, n+1)
^
SyntaxError: expected ':'
| |
s914170877 | p02406 | u172616925 | 1435570762 | Python | Python | py | Runtime Error | 0 | 0 | 97 | n = int(raw_input())
for i in range(1, n+1)
if (i % 3 == 0 or i % 10 == 3):
print " %d" % i | File "/tmp/tmpoexzi1hr/tmpj2yucjkg.py", line 2
for i in range(1, n+1)
^
SyntaxError: expected ':'
| |
s672005197 | p02406 | u224288634 | 1444188467 | Python | Python | py | Runtime Error | 0 | 0 | 171 | import sys
n = input()
i = 1
for i in range(n) :
if i%3==0 :
sys.stdout.write(??? %d???%i)
for j in range(n) :
if(j%10==3):
sys.stdout.wite(??? %d???%j)
print?????? | File "/tmp/tmpnja1n9oo/tmp6j_8s4c8.py", line 7
sys.stdout.write(??? %d???%i)
^
SyntaxError: invalid syntax
| |
s917767340 | p02406 | u224288634 | 1444188519 | Python | Python | py | Runtime Error | 0 | 0 | 165 | import sys
n = input()
for i in range(n) :
if i%3==0 :
sys.stdout.write(??? %d???%i)
for j in range(n) :
if(j%10==3):
sys.stdout.wite(??? %d???%j)
print?????? | File "/tmp/tmpgahk4m5v/tmpm9p3z582.py", line 6
sys.stdout.write(??? %d???%i)
^
SyntaxError: invalid syntax
| |
s624813903 | p02406 | u224288634 | 1444189074 | Python | Python | py | Runtime Error | 0 | 0 | 211 | import sys
n = input()
for i in range(n) :
if i%3==0 :
sys.stdout.write(??? ???)
sys.stdout.write(str(i))
for j in range(n) :
if(j%10==3):
sys.stdout.write(??? ???)
sys.stdout.wite(str(j))
print?????? | File "/tmp/tmp4nby81cm/tmppv6erer8.py", line 6
sys.stdout.write(??? ???)
^
SyntaxError: invalid syntax
| |
s937086702 | p02406 | u224288634 | 1444189398 | Python | Python | py | Runtime Error | 0 | 0 | 198 | import sys
n = input()
for i in range(1,n+1) :
if i%3==0 :
sys.stdout.write(??? ???)
sys.stdout.write(str(i))
elif(i%10==3):
sys.stdout.write(??? ???)
sys.stdout.wite(str(i))
print ?????? | File "/tmp/tmpb77rx3o5/tmpbmlngvjk.py", line 6
sys.stdout.write(??? ???)
^
SyntaxError: invalid syntax
| |
s055260597 | p02406 | u811841526 | 1449077720 | Python | Python3 | py | Runtime Error | 0 | 0 | 256 | n = int(input())
for i in range(1,n+1):
x = i
if x % 3 == 0:
print('', i, end='')
else:
while True:
if x % 10 == 3:
print('', i, end='')
x //= 10
if x == 0:
break | File "/tmp/tmpgmw_68ry/tmpjcta5baj.py", line 6
else:
^
IndentationError: unindent does not match any outer indentation level
| |
s598844854 | p02406 | u834416077 | 1454467633 | Python | Python | py | Runtime Error | 0 | 0 | 160 | n = int(raw_input())
print "",
for i in range(n+1):
if i%3 == 0:
print ("{0}",.format(i))
elif i%3 == 3:
print ("{0}",.format(i))
else:
i += 1 | File "/tmp/tmp3pnjgwyc/tmpp1s7hngb.py", line 2
print "",
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s391154956 | p02406 | u834416077 | 1454468237 | Python | Python | py | Runtime Error | 0 | 0 | 84 | n=input()
print"",
for i in range(n+1):
if i%3==0 or str(i).count('3'):
print i, | File "/tmp/tmpueq9qfyn/tmp3kmukmqh.py", line 2
print"",
^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s961233210 | p02406 | u834416077 | 1454468265 | Python | Python | py | Runtime Error | 0 | 0 | 86 | n=input()
print"",
for i in range(1,n+1):
if i%3==0 or str(i).count('3'):
print i, | File "/tmp/tmpyu4sk_ln/tmp5r13ajlv.py", line 2
print"",
^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s967401635 | p02406 | u047737909 | 1454684302 | Python | Python | py | Runtime Error | 0 | 0 | 58 | n = int(raw_input())
i =0
while i <=n:
if i%3==0
print'i' | File "/tmp/tmp5j9rnszx/tmpq4as_1cn.py", line 4
if i%3==0
^
SyntaxError: expected ':'
| |
s225881690 | p02406 | u047737909 | 1454684524 | Python | Python | py | Runtime Error | 0 | 0 | 137 | n = input()
x = 1
print ''
while True:
if x > n:
break
if (x % 3 == 0) or ('3' in str(x)):
print x
x =x + 1 | File "/tmp/tmp1hl87sgt/tmpe49ixkjv.py", line 3
print ''
^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s859729946 | p02406 | u970436839 | 1454759736 | Python | Python | py | Runtime Error | 0 | 0 | 96 | n = input()
print ,
for i in xrange(1, n+1):
if i % 3 == 0 or i % 10 == 3:
print i, | File "/tmp/tmpq_krmkv4/tmpma6s9485.py", line 6
print i,
^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s270700084 | p02406 | u619765879 | 1454999389 | Python | Python | py | Runtime Error | 0 | 0 | 62 | for i in range(n):
if i%3==0 or i%10==3:
print ' %d' % i | File "/tmp/tmp0pc1blba/tmpihsiwrw3.py", line 3
print ' %d' % i
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s094524353 | p02406 | u233232390 | 1454999455 | Python | Python | py | Runtime Error | 0 | 0 | 140 | n = input()
x = 1
ans = ''
while 1:
if x > n:
break
if ( x % 3 == 0 ) or ( '3' in str(x) ):
ans = ans + x
x += 1
print ans | File "/tmp/tmpn32jca1s/tmpj6gm3m8r.py", line 10
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s845993822 | p02406 | u233232390 | 1454999530 | Python | Python | py | Runtime Error | 0 | 0 | 138 | n = input()
x = 1
ans = ''
while 1:
if x > n:
break
if ( x % 3 == 0 ) or ( '3' in str(x) ):
ans = ans + x
x += 1
print ans | File "/tmp/tmpkvmf10xe/tmp5wpl3pch.py", line 10
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s676967578 | p02406 | u233232390 | 1454999653 | Python | Python | py | Runtime Error | 0 | 0 | 139 | n = input()
x = 1
ans = ' '
while 1:
if x > n:
break
if ( x % 3 == 0 ) or ( '3' in str(x) ):
ans = ans + x
x += 1
print ans | File "/tmp/tmpdw21habd/tmp_ga_eb8a.py", line 10
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s427676118 | p02406 | u233232390 | 1454999768 | Python | Python | py | Runtime Error | 0 | 0 | 142 | n = input()
x = 1
ans = 0
while 1:
if x > n:
break
if ( x % 3 == 0 ) or ( '3' in str(x) ):
ans = ans + str(x)
x += 1
print ans | File "/tmp/tmp2lg6o8tm/tmp429ibhh3.py", line 10
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s128626730 | p02406 | u119456964 | 1455000099 | Python | Python | py | Runtime Error | 0 | 0 | 155 | n = int(raw_input())
s = ''
for i in range(1, n+1):
if i%3 == 0:
s = s + ' ' + str(i)
elif i%10 == 3:
s = s + ' ' + srt(i)
print s | File "/tmp/tmpus6t2jp5/tmpwz2332e6.py", line 9
print s
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s740172014 | p02406 | u619765879 | 1455000479 | Python | Python | py | Runtime Error | 0 | 0 | 206 | n = input()
for i in range(1,n+1):
x = i
if x%3==0:
print ' %d', % x
continue
elif x<=n:
if x%10==3:
print ' %d', % x
break
else:
x /= 10
if x==0:
break | File "/tmp/tmpvjc63y5q/tmpfzioxdyh.py", line 5
print ' %d', % x
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s387917391 | p02406 | u619765879 | 1455001179 | Python | Python | py | Runtime Error | 0 | 0 | 228 | import sys
for i in range(1,n+1):
x = i
if x%3==0:
sys.stdout.write(' %d' % x)
continue
while x<=n:
if x%10==3:
sys.stdout.write(' %d' % x)
break
else:
x /= 10
if x==0:
break | Traceback (most recent call last):
File "/tmp/tmp_cifs_rr/tmpkl8y9z5w.py", line 2, in <module>
for i in range(1,n+1):
^
NameError: name 'n' is not defined
| |
s392146297 | p02406 | u038243492 | 1455031444 | Python | Python | py | Runtime Error | 0 | 0 | 109 | a = gets.to_i
for num in 1..a
if num.to_s =~ /3/ || num % 3 == 0
print " #{num}"
end
end
puts | File "/tmp/tmpzl0s0qla/tmpaoewdg00.py", line 2
for num in 1..a
^
SyntaxError: expected ':'
| |
s170740648 | p02406 | u572790226 | 1459566060 | Python | Python | py | Runtime Error | 0 | 0 | 301 | n = int(input())
for i in range(1, n+1):
if i % 3 == 0:
print(' '+str(i), end = '')
elif i % 10 ==3:
print(' '+str(i), end = '')
else:
x = i
while x != 0:
x //= 10
if x % 10 == 3:
print(' '+str(i), end = '')
print('') | Traceback (most recent call last):
File "/tmp/tmpvc75bq66/tmp01clc_rx.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s038071770 | p02406 | u762833208 | 1461214712 | Python | Python | py | Runtime Error | 0 | 0 | 116 | n = input()
lst = []
for i in range(3,n+1):
if i%3==0:
lst.append(i)
elif i%10==3:
lst.append(i)
print " "+lst | File "/tmp/tmpmo4alfnx/tmpxqcvk0hn.py", line 8
print " "+lst
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s545236306 | p02406 | u762833208 | 1461660035 | Python | Python | py | Runtime Error | 0 | 0 | 116 | n = input()
lst = []
for i in range(3,n+1):
if i%3==0:
lst.append(i)
elif i%10==3:
lst.append(i)
print " "+lst | File "/tmp/tmp1zq_isgf/tmpgi130tk4.py", line 8
print " "+lst
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s912727401 | p02406 | u762833208 | 1461720168 | Python | Python | py | Runtime Error | 0 | 0 | 78 | n = input()
for i in range(1,n+1):
if i%3==0 or str(i).count.("3"):
print i | File "/tmp/tmpovcptcgm/tmp_d0l0mmk.py", line 3
if i%3==0 or str(i).count.("3"):
^
SyntaxError: invalid syntax
| |
s182314412 | p02406 | u762833208 | 1461720271 | Python | Python | py | Runtime Error | 0 | 0 | 88 | n = input()
print "",
for i in range(1,n+1):
if i%3==0 or str(i).count.('3'):
print i | File "/tmp/tmp6pvj289b/tmprp26ae7j.py", line 2
print "",
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s055898012 | p02406 | u587193722 | 1469627542 | Python | Python3 | py | Runtime Error | 0 | 0 | 153 | x = int(input())
for i in range(1,x+1):
if i%3 ==0:
print(' ',i,end='',sep='')
elif i%10 ==3:
print(' ',i,end='',sep='')
prinit() | Traceback (most recent call last):
File "/tmp/tmpge0_avjp/tmpzfb6qzo_.py", line 1, in <module>
x = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s165634423 | p02406 | u587193722 | 1469627568 | Python | Python3 | py | Runtime Error | 0 | 0 | 143 | x = int(input())
for i in range(1,x+1):
if i%3 ==0:
print(i,' '.end='',sep='')
elif i%10 ==3:
print(i,'',end='',sep='') | File "/tmp/tmpm23wksh5/tmprwuhcwfs.py", line 4
print(i,' '.end='',sep='')
^^^^^^^^
SyntaxError: expression cannot contain assignment, perhaps you meant "=="?
| |
s711843748 | p02406 | u252415092 | 1474033603 | Python | Python | py | Runtime Error | 0 | 0 | 101 | while 1:
m,n=map(int, raw_input().split())
if n==m==0: break
else: print (('#'*n+'\n')*m) | Traceback (most recent call last):
File "/tmp/tmpjszo9_et/tmp46zphdtj.py", line 2, in <module>
m,n=map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s653998440 | p02406 | u252415092 | 1474033612 | Python | Python | py | Runtime Error | 0 | 0 | 101 | while 1:
m,n=map(int, raw_input().split())
if n==m==0: break
else: print (('#'*n+'\n')*m) | Traceback (most recent call last):
File "/tmp/tmp4qz76p1w/tmplyqyyprm.py", line 2, in <module>
m,n=map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s976261711 | p02406 | u159356473 | 1476256351 | Python | Python3 | py | Runtime Error | 0 | 0 | 330 | #coding: UTF-8
import math
def SP(a):
ans=" "
for i in range(a+1):
if i!=0 and i%3==0 or i%10==3:
ans+=str(i)+" "
continue
if int(i/10) >= 1:
if int(i/10)%10==3:
ans += str(i)+" "
print(ans[:-1])
if __name__=="__main__":
a=input()
... | File "/tmp/tmpu1iqbkml/tmply88imlm.py", line 17
SP(int(a)
^
SyntaxError: '(' was never closed
| |
s232740628 | p02406 | u159356473 | 1476256512 | Python | Python3 | py | Runtime Error | 0 | 0 | 330 | #coding: UTF-8
import math
def SP(a):
ans=" "
for i in range(a+1):
if i!=0 and i%3==0 or i%10==3:
ans+=str(i)+" "
continue
if int(i/10) >= 1:
if int(i/10)%10==3:
ans += str(i)+" "
print(ans[:-1])
if __name__=="__main__":
a=input()
... | File "/tmp/tmp_5qp64if/tmpljpi49th.py", line 17
SP(int(a)
^
SyntaxError: '(' was never closed
| |
s093290116 | p02406 | u659302741 | 1477626255 | Python | Python3 | py | Runtime Error | 0 | 0 | 267 | def contains3(n):
while n > 0:
if n % 10 == 3:
return True
else:
n /= 10
return Falses
x = int(input())
out = ""
for i in range(x):
n = i + 1
if n % 3 == 0 or contains3(n):
out += (" %d" % n)
print(out) | Traceback (most recent call last):
File "/tmp/tmp1mb9wwt4/tmp_7u976zv.py", line 9, in <module>
x = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s943823267 | p02406 | u236295012 | 1477783053 | Python | Python3 | py | Runtime Error | 0 | 0 | 127 | x = int(input())
for i in range(1,x+1):
if i % 3 == 0 or i % 10 == 3 :
print(" {}".format(i),end='')
print() | File "/tmp/tmpg959_9ii/tmp66ceehe_.py", line 6
print()
^
IndentationError: unindent does not match any outer indentation level
| |
s935176082 | p02406 | u635647915 | 1478908932 | Python | Python | py | Runtime Error | 0 | 0 | 375 | #coding:utf-8
def call(n):
i=1
for i in range(1,n+1):
x=i
if x%3==0:
print(" "+str(x),end="")
else:
while x!=0:
if x%10==3:
print(" "+str(x),end="")
break
else:
x/=10
... | Traceback (most recent call last):
File "/tmp/tmptjk57b8k/tmpbae1ec88.py", line 20, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s587190391 | p02406 | u635647915 | 1478909055 | Python | Python3 | py | Runtime Error | 0 | 0 | 366 | #coding:utf-8
def call(n):
for i in range(1,n+1):
x=i
if x%3==0:
print(" "+str(i,end="")
else:
while x!=0:
if x%10==3:
print(" "+str(i),end="")
break
else:
x//=10
... | File "/tmp/tmpea2absw0/tmp4zvjqqt3.py", line 7
print(" "+str(i,end="")
^
SyntaxError: '(' was never closed
| |
s785056567 | p02406 | u186082958 | 1484227828 | Python | Python3 | py | Runtime Error | 0 | 0 | 374 | <?php
fscanf(STDIN,"%d",$n);
$i=1;
while(true){
$flag=false;
if($i%3==0){
$flag=true;
}
$a=$i;
while($a>0){
if($a%10==3){
$flag=true;
}
$a/=10;
}
if($flag){
echo " ", $i;
... | File "/tmp/tmp4apnp40k/tmp6bcssgex.py", line 1
<?php
^
SyntaxError: invalid syntax
| |
s833364034 | p02406 | u307520683 | 1486048105 | Python | Python | py | Runtime Error | 0 | 0 | 267 | import sys
while 1:
N=input()
sys.stdout.write('\n')
i = 1
while 1:
if (i % 3) == 0:
sys.stdout.write(" ")
sys.stdout.write("%d" % i)
else :
if (i % 10 ) == 3:
sys.stdout.write(' ')
sys.stdout.write("%d" % i)
if i+1 > N:
break
i += 1 | Traceback (most recent call last):
File "/tmp/tmp4qkupv78/tmpp4nnmo06.py", line 3, in <module>
N=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s700607257 | p02406 | u921541953 | 1489314837 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | n = int(input())
print(,end=' ')
for i in range(3, n + 1):
if i % 3 == 0 or i % 10 == 3:
print(i, end=' ') | File "/tmp/tmp871wethc/tmpe_3qxpqp.py", line 2
print(,end=' ')
^
SyntaxError: invalid syntax
| |
s492159510 | p02406 | u756958775 | 1490117644 | Python | Python3 | py | Runtime Error | 0 | 0 | 274 | n = int(input().split())
for i in range(n):
if i%3==0:
print(" "+str(i+1), end="")
else:
x = i+1
while(x>0):
if x%10==3:
print(" "+str(i+1), end="")
break
else:
x = x//10 | Traceback (most recent call last):
File "/tmp/tmpmxourh2f/tmpqj15x0kt.py", line 1, in <module>
n = int(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s680850399 | p02406 | u957680575 | 1493211307 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | a = int(input())
x=-1
y=[]
while x<=a:
x+=1
if x%10==3 or x%3==0:
y.append(str(x))
print(" ".join(y)) | File "/tmp/tmp0odi0bl4/tmpw2h0usv9.py", line 7
y.append(str(x))
^
IndentationError: expected an indented block after 'if' statement on line 6
| |
s498115339 | p02406 | u957680575 | 1493211347 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | a = int(input())
x=-1
y=[]
while x<=a:
x+=1
if x%10==3 or x%3==0:
y.append(str(x))
print(" ".join(y)) | File "/tmp/tmpg7u_ns_j/tmpg2a36my9.py", line 7
y.append(str(x))
^
IndentationError: expected an indented block after 'if' statement on line 6
| |
s565820364 | p02406 | u580737984 | 1498719161 | Python | Python | py | Runtime Error | 0 | 0 | 140 | i = int(input())
j = 1
while j <= i:
if j%3 == 0 or j%10 ==3 or'3' in str(j):
print(' ',end='')
print(j,end='')
j += 1
print() | Traceback (most recent call last):
File "/tmp/tmp_qtb2b1l/tmpzn4voad9.py", line 1, in <module>
i = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s198785258 | p02406 | u623827446 | 1498721902 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | n=int(raw_input())
ans=''
for i in range(3,n+1):
if i%3==0 or '3' in str(i):
ans+=(' '+str(i))
print ans | File "/tmp/tmpdj5rqg5v/tmpzoog05r3.py", line 6
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s104692905 | p02406 | u261533743 | 1498724818 | Python | Python3 | py | Runtime Error | 0 | 0 | 114 | N = int(input())
print(' {}'.format(' '.join([str(c) for c in range(1, N + 1)
if c % 3 == 0 or '3' in str(c)]) | File "/tmp/tmplhgbm1_0/tmp51wx83k7.py", line 3
print(' {}'.format(' '.join([str(c) for c in range(1, N + 1)
^
SyntaxError: '(' was never closed
| |
s658884287 | p02406 | u869667855 | 1500045105 | Python | Python | py | Runtime Error | 0 | 0 | 128 | i = 1
n = int(input())
while i <= n:
if i % 3 == 0:
print(i , end = ' ')
elif i % 10 == 3:
print(i , end = ' ')
i = i + 1 | Traceback (most recent call last):
File "/tmp/tmpex1t64vm/tmpey2c64dl.py", line 2, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s550363384 | p02406 | u914146430 | 1500277686 | Python | Python3 | py | Runtime Error | 0 | 0 | 445 | result=[]
for i in range(1,n+1):
print(i)
if i %3==0:
result.append(i)
print("3?????°")
# elif i%10==3:
# result.append(i)
else:
k=i
for j in range(1,5):
# print(10**j, i%(10**j))
if k%(10**j)==3:
result.append(i)
... | Traceback (most recent call last):
File "/tmp/tmpaq_qhwj4/tmpjw7m_5oz.py", line 2, in <module>
for i in range(1,n+1):
^
NameError: name 'n' is not defined
| |
s653108200 | p02406 | u914146430 | 1500277752 | Python | Python3 | py | Runtime Error | 0 | 0 | 288 | result=[]
for i in range(1,n+1):
if i %3==0:
result.append(i)
else:
k=i
for j in range(1,5):
if k%(10**j)==3:
result.append(i)
break
else:
k=k//10**j
else:
continue | Traceback (most recent call last):
File "/tmp/tmpbq48exu_/tmp3srmhpx6.py", line 2, in <module>
for i in range(1,n+1):
^
NameError: name 'n' is not defined
| |
s051083459 | p02406 | u914146430 | 1500277926 | Python | Python3 | py | Runtime Error | 0 | 0 | 308 | result=[]
for i in range(1,n+1):
if i %3==0:
result.append(i)
else:
k=i
for j in range(1,5):
if k%(10**j)==3:
result.append(i)
break
else:
k=k//10**j
else:
continue
print(" ",*result) | Traceback (most recent call last):
File "/tmp/tmp4znsb10q/tmpsp7qp15z.py", line 2, in <module>
for i in range(1,n+1):
^
NameError: name 'n' is not defined
| |
s691064341 | p02406 | u914146430 | 1500278136 | Python | Python3 | py | Runtime Error | 0 | 0 | 333 | n=int(input())
result=[]
for i in range(1,n+1):
if i %3==0:
result.append(i)
else:
k=i
for j in range(1,5):
if k%(10**j)==3:
result.append(i)
break
else:
k=k//10**j
else:
continue
print(" "," ".... | Traceback (most recent call last):
File "/tmp/tmp2urpgbgh/tmpe2fn1sdn.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s307161812 | p02406 | u914146430 | 1500278252 | Python | Python3 | py | Runtime Error | 0 | 0 | 329 | n=int(input())
result=[]
for i in range(1,n+1):
if i %3==0:
result.append(i)
else:
k=i
for j in range(1,len(str(n)):
if k%(10**j)==3:
result.append(i)
break
else:
k=k//10**j
else:
continue
print... | File "/tmp/tmp_f79exrx/tmpxaod6cow.py", line 9
for j in range(1,len(str(n)):
^
SyntaxError: invalid syntax
| |
s144044773 | p02406 | u914146430 | 1500278349 | Python | Python3 | py | Runtime Error | 0 | 0 | 331 | n=int(input())
result=[]
for i in range(1,n+1):
if i %3==0:
result.append(i)
else:
k=i
for j in range(1,len(str(n)+1):
if k%(10**j)==3:
result.append(i)
break
else:
k=k//10**j
else:
continue
pri... | File "/tmp/tmpz6xrw7fl/tmpfex9b0di.py", line 9
for j in range(1,len(str(n)+1):
^
SyntaxError: invalid syntax
| |
s458035865 | p02406 | u914146430 | 1500278414 | Python | Python3 | py | Runtime Error | 0 | 0 | 336 | n=int(input())
result=[]
for i in range(1,n+1):
if i %3==0:
result.append(i)
else:
k=i
for j in range(1,len(str(n)+1):
if k%(10**j)==3:
result.append(i)
break
else:
k=k//10**j
else:
continue
pri... | File "/tmp/tmpoouhq793/tmphy2jovuc.py", line 9
for j in range(1,len(str(n)+1):
^
SyntaxError: invalid syntax
| |
s626444630 | p02406 | u914146430 | 1500278483 | Python | Python3 | py | Runtime Error | 0 | 0 | 340 | n=int(input())
result=[]
for i in range(1,n+1):
if i %3==0:
result.append(i)
else:
k=i
for j in range(1,len(str(n)+1):
if k%(10**j)==3:
result.append(i)
break
else:
k=k//10**j
else:
continue
pri... | File "/tmp/tmp2fiwa_pv/tmptr1o4ihp.py", line 9
for j in range(1,len(str(n)+1):
^
SyntaxError: invalid syntax
| |
s156372336 | p02406 | u914146430 | 1500278494 | Python | Python3 | py | Runtime Error | 0 | 0 | 339 | n=int(input())
result=[]
for i in range(1,n+1):
if i %3==0:
result.append(i)
else:
k=i
for j in range(1,len(str(n)+1):
if k%(10**j)==3:
result.append(i)
break
else:
k=k//10**j
else:
continue
pri... | File "/tmp/tmpamy1er56/tmpd0suinoy.py", line 9
for j in range(1,len(str(n)+1):
^
SyntaxError: invalid syntax
| |
s460358269 | p02406 | u914146430 | 1500278654 | Python | Python3 | py | Runtime Error | 0 | 0 | 348 | n=int(input())
result=[]
for i in range(1,n+1):
if i %3==0:
result.append(i)
else:
k=i
for j in range(1,len(str(n)+1):
if k%(10**j)==3:
result.append(i)
break
else:
k=k//10**j
else:
continue
r="... | File "/tmp/tmpy2aw7enf/tmpxciiekv8.py", line 9
for j in range(1,len(str(n)+1):
^
SyntaxError: invalid syntax
| |
s220858354 | p02406 | u914146430 | 1500278755 | Python | Python3 | py | Runtime Error | 0 | 0 | 330 | n=int(input())
result=[]
for i in range(1,n+1):
if i %3==0:
result.append(i)
else:
k=i
for j in range(1,len(str(n)+1):
if k%(10**j)==3:
result.append(i)
break
else:
k=k//10**j
else:
continue
pri... | File "/tmp/tmp3vhipfxb/tmpemt4321r.py", line 9
for j in range(1,len(str(n)+1):
^
SyntaxError: invalid syntax
| |
s883399773 | p02406 | u914146430 | 1500278764 | Python | Python3 | py | Runtime Error | 0 | 0 | 331 | n=int(input())
result=[]
for i in range(1,n+1):
if i %3==0:
result.append(i)
else:
k=i
for j in range(1,len(str(n)+1):
if k%(10**j)==3:
result.append(i)
break
else:
k=k//10**j
else:
continue
pri... | File "/tmp/tmpo13fy2y1/tmp0npxn1_8.py", line 9
for j in range(1,len(str(n)+1):
^
SyntaxError: invalid syntax
| |
s631245126 | p02406 | u914146430 | 1500278852 | Python | Python3 | py | Runtime Error | 0 | 0 | 339 | n=int(input())
result=[]
for i in range(1,n+1):
if i %3==0:
result.append(i)
else:
k=i
for j in range(1,len(str(n)+1):
if k%(10**j)==3:
result.append(i)
break
else:
k=k//(10**j)
else:
continue
... | File "/tmp/tmpoz42s569/tmp15erbms4.py", line 10
for j in range(1,len(str(n)+1):
^
SyntaxError: invalid syntax
| |
s407833404 | p02406 | u914146430 | 1500279736 | Python | Python3 | py | Runtime Error | 0 | 0 | 334 | n=int(input())
result=[]
for i in range(1,n+1):
if i %3==0:
result.append(i)
else:
k=i
for j in range(1,len(str(n))+1):
if k%10**==3:
result.append(i)
break
else:
k=k//10**j
else:
continue
pri... | File "/tmp/tmpb2yivf_z/tmpid6m2k9i.py", line 10
if k%10**==3:
^^^
SyntaxError: invalid syntax
| |
s159121723 | p02406 | u350064373 | 1501223270 | Python | Python3 | py | Runtime Error | 0 | 0 | 49 | input("")
print(3 6 9 12 13 15 18 21 23 24 27 30) | File "/tmp/tmpvdovafp2/tmpug30km5d.py", line 2
print(3 6 9 12 13 15 18 21 23 24 27 30)
^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s052567611 | p02406 | u957021183 | 1502949763 | Python | Python3 | py | Runtime Error | 20 | 7864 | 620 | # Aizu Problem ITP_1_5_D: Structured Programming
#
import sys, math, os
# read input:
PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
sys.stdin = open("sample-input.txt", "rt")
res = []
def CHECK_NUM(n, i):
x = i
if x % 3 == 0:
res.append(i)
else:
while True:
if x % 10 ... | Traceback (most recent call last):
File "/tmp/tmpbkpxx7sz/tmp19_fjmy5.py", line 34, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s434455943 | p02406 | u391079301 | 1503817025 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | n = int(input())
for i in range(1, n + 1):
if i % 3 == 0 or i % 10 == 3:
print(f' {i}', end='')
print() | Traceback (most recent call last):
File "/tmp/tmpkl1k4tjf/tmpd81eojdu.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s503335874 | p02406 | u933096856 | 1505009443 | Python | Python3 | py | Runtime Error | 0 | 0 | 102 | a=[]
n=int(input())
for i in range(3,n+1):
if i%3==0 or i%10==3:
a.append(i)
print(' '+*a) | File "/tmp/tmpicx6o24y/tmpb5vrmug8.py", line 6
print(' '+*a)
^
SyntaxError: invalid syntax
| |
s547062735 | p02406 | u933096856 | 1505057098 | Python | Python3 | py | Runtime Error | 0 | 0 | 325 | n=int(input())
a,c,i=[],0,1
while i <= n:
if c==0:
x=i
if x%3==0:
print(' '+i, end='')
i+=1
continue
c=0
if x%10==3:
print(' '+i, end='')
i+=1
continue
x//=10
if x == 0:
i+=1
continue
else:
c=1
pr... | Traceback (most recent call last):
File "/tmp/tmpzeda0zx0/tmp19lkp0y3.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.